Update header.html

This commit is contained in:
Andrew Banchich 2016-08-26 01:21:38 +00:00
parent 5056f4d7f1
commit b8835ea90e

View file

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