Fix unless statement

This commit is contained in:
David Darnes 2018-09-16 19:14:00 +01:00 committed by GitHub
parent 3d7271aaa2
commit 01ba7dd16f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<nav class="nav">
<ul class="list list--nav">
{% for item in site.pages %}
{% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." %}
{% 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 %}