Update header.html

This commit is contained in:
Andrew Banchich 2016-08-26 01:18:17 +00:00
parent a0855b791c
commit 5056f4d7f1

View file

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