Update header.html

This commit is contained in:
Andrew Banchich 2016-08-26 00:51:14 +00:00
parent e37e5bf672
commit 705ee2e1b0
1 changed files with 1 additions and 6 deletions

View File

@ -12,14 +12,9 @@
<!-- Menu -->
<nav id="menu">
<ul class="links">
{% for page in site.pages %}
{% if page.url == "index.html" %}
<li><a href="{{ page.url | prepend: site.baseurl | remove: "index.html" }}">{{ page.title }}</a></li>
{% endif %}
{% endfor %}
{% for page in site.pages %}
{% if page.title %}
<li><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title | remove: "Home" }}</a></li>
<li><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
{% endif %}
{% endfor %}
</ul>