_includes/site-nav.html in garth-jekyll-theme-0.4.1 vs _includes/site-nav.html in garth-jekyll-theme-0.5.0
- old
+ new
@@ -1,8 +1,8 @@
<nav class="nav">
<ul class="list list--nav">
{% for item in site.pages %}
- {% unless item.url contains ".css" or item.url contains "/page" or item.url contains "/404.html" %}
+ {% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." %}
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
{% if item.collectionpage %}
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
<a href="{{ item.url }}">{{ collectiondata.title }}</a>
{% else %}