Update header.html

This commit is contained in:
Andrew Banchich 2016-08-26 01:13:16 +00:00
parent 994b88a776
commit bd2f119a34
1 changed files with 2 additions and 2 deletions

View File

@ -13,12 +13,12 @@
<nav id="menu">
<ul class="links">
{% for page in site.pages %}
{% if page.path == "index.html" %}
{% 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.path !== "index.html" %}
{% if page.url !== "index.html" %}
<li><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
{% endif %}
{% endfor %}