Update header.html

This commit is contained in:
Andrew Banchich 2016-08-26 01:13:16 +00:00
parent 994b88a776
commit bd2f119a34

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.path == "index.html" %} {% if page.url == "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.path !== "index.html" %} {% if page.url !== "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 %}