Update header.html

This commit is contained in:
Andrew Banchich 2016-08-26 00:51:14 +00:00
parent e37e5bf672
commit 705ee2e1b0

View file

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