Fix unless statement
This commit is contained in:
parent
3d7271aaa2
commit
01ba7dd16f
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user