Skip to content

Commit

Permalink
Move pages into folder and update links in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
LeNPaul committed Dec 24, 2017
1 parent 204f5ef commit bc11692
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 203 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Portfolio Jekyll Theme

This is a portfolio Jekyll theme built from the ground up, using the [DevTips Starter Kit](http://devtipsstarterkit.com/) as a foundation for starting, and following closely the amazing tutorial by [Travis Neilson over at DevTips](https://www.youtube.com/watch?v=T6jKLsxbFg4&list=PL0CB3OvPhDA_STygmp3sDenx3UpdOMk7P).
This is a Jekyll theme built using the [DevTips Starter Kit](http://devtipsstarterkit.com/) as a foundation for starting, and following closely the amazing tutorial by [Travis Neilson over at DevTips](https://www.youtube.com/watch?v=T6jKLsxbFg4&list=PL0CB3OvPhDA_STygmp3sDenx3UpdOMk7P). The purpose of this theme is to provide a clea. Emphasis of placed on your

![alt-text](https://cloud.githubusercontent.com/assets/8409329/26227987/f2583642-3c03-11e7-81c4-28a9353c91ae.jpg)

Expand Down
6 changes: 3 additions & 3 deletions _data/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ email: l.nguyen.paul@gmail.com

menu:
- {name: 'Projects', url: ''}
- {name: 'Blog', url: 'blog.html'}
- {name: 'About', url: 'about.html'}
- {name: 'Contact', url: 'contact.html'}
- {name: 'Blog', url: 'pages/blog.html'}
- {name: 'About', url: 'pages/about.html'}
- {name: 'Contact', url: 'pages/contact.html'}

#-------------------------------
# SEO Section
Expand Down
4 changes: 2 additions & 2 deletions _site/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Portfolio Jekyll Theme

This is a portfolio Jekyll theme built from the ground up, using the [DevTips Starter Kit](http://devtipsstarterkit.com/) as a foundation for starting, and following closely the amazing tutorial by [Travis Neilson over at DevTips](https://www.youtube.com/watch?v=T6jKLsxbFg4&list=PL0CB3OvPhDA_STygmp3sDenx3UpdOMk7P).
This is a Jekyll theme built using the [DevTips Starter Kit](http://devtipsstarterkit.com/) as a foundation for starting, and following closely the amazing tutorial by [Travis Neilson over at DevTips](https://www.youtube.com/watch?v=T6jKLsxbFg4&list=PL0CB3OvPhDA_STygmp3sDenx3UpdOMk7P). The purpose of this theme is to provide a clea. Emphasis of placed on your

![alt-text](https://cloud.githubusercontent.com/assets/8409329/26227987/f2583642-3c03-11e7-81c4-28a9353c91ae.jpg)

#### Quick-Start Guide

To start using this theme right away, [fork the repository](https://github.com/LeNPaul/portfolio-jekyll-theme/fork). From there, you can rename the repository to `USERNAME.github.io`, where `USERNAME` is your GitHub username, and edit the `_config.yml` and `_settings.yml` file (in the _data folder) to your liking. Ensure that you have a branch named `gh-pages`. Your website should be ready immediately at `http://USERNAME.github.io`.
To start using this theme right away, [fork the repository](https://github.com/LeNPaul/portfolio-jekyll-theme/fork). From there, you can rename the repository to `USERNAME.github.io`, where `USERNAME` is your GitHub username, and edit the `_config.yml` and `_settings.yml` file (in the `_data folder`) to your liking. Ensure that you have a branch named `gh-pages`. Your website should be ready immediately at `http://USERNAME.github.io`.

Head over to the `_posts` directory to view all the blog posts that are currently on the website, and to see examples of what post files generally look like. Project content is added in the `projects` folder. You can simply just duplicate the template posts and start adding your own content.

Expand Down
62 changes: 0 additions & 62 deletions _site/about.html

This file was deleted.

70 changes: 0 additions & 70 deletions _site/blog.html

This file was deleted.

62 changes: 0 additions & 62 deletions _site/contact.html

This file was deleted.

6 changes: 3 additions & 3 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@

<a href="/">Projects</a>

<a href="/blog.html">Blog</a>
<a href="/pages/blog.html">Blog</a>

<a href="/about.html">About</a>
<a href="/pages/about.html">About</a>

<a href="/contact.html">Contact</a>
<a href="/pages/contact.html">Contact</a>

</nav>
</header>
Expand Down
6 changes: 6 additions & 0 deletions pages/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: page
title: About
---

{{ site.data.settings.about | markdownify }}
24 changes: 24 additions & 0 deletions pages/blog.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: default
title: Blog
---

<section>
<div class="blog-container">
{% for post in site.posts %}
<div class="blog-unit">
<h1><a href="{{ site.github.url }}{{ post.url }}">{{ post.title }}</a></h1>
<span class="blog-date">
{% assign d = post.date | date: "%-d" %}
{{ post.date | date: "%B" }}
{% case d %}
{% when '1' or '21' or '31' %}{{ d }}st
{% when '2' or '22' %}{{ d }}nd
{% when '3' or '23' %}{{ d }}rd
{% else %}{{ d }}th{% endcase %},
{{ post.date | date: "%Y" }}
</span>
</div>
{% endfor %}
</div>
</section>
6 changes: 6 additions & 0 deletions pages/contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: page
title: Contact
---

{{ site.data.settings.contact | markdownify }}

0 comments on commit bc11692

Please sign in to comment.