Permalink
Browse files

navigation fix to use actual about and contact page url and title

  • Loading branch information...
1 parent 86c146a commit eb84a9abb176d83921a18279f82706ce6902e07a Mete Balci committed Jan 4, 2016
Showing with 12 additions and 2 deletions.
  1. +10 −2 _includes/navigation.html
  2. +1 −0 about.md
  3. +1 −0 contact.html
@@ -1,2 +1,10 @@
-<a href="{{ site.baseurl }}/about/">About</a>
-<a href="{{ site.baseurl }}/contact/">Contact</a>
+{% for page in site.pages %}
+ {% if page.tags contains "about" %}
+ <a href="{{ page.url }}">{{ page.title }}</a>
+ {% endif %}
+{% endfor %}
+{% for page in site.pages %}
+ {% if page.tags contains "contact" %}
+ <a href="{{ page.url }}">{{ page.title }}</a>
+ {% endif %}
+{% endfor %}
View
@@ -2,6 +2,7 @@
layout: page
title: About Pixyll
permalink: /about/
+tags: about
---
This Jekyll theme was crafted with <3 by [John Otander](http://johnotander.com)
View
@@ -2,6 +2,7 @@
layout: page
title: Say Hello
permalink: /contact/
+tags: about
---
<div class="py2">

0 comments on commit eb84a9a

Please sign in to comment.