Update header.html

This commit is contained in:
Andrew Banchich 2016-08-26 01:24:55 +00:00
parent 6d2e8faee0
commit e2e5dc27e8

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.layout == "default" %} {% if page.layout == "home" %}
<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.layout != "default" %} {% if page.layout != "home" %}
<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 %}