Clean up indentation

This commit is contained in:
David Darnes
2020-01-06 15:01:27 +00:00
parent 3f31c09342
commit d5603a44ae
2 changed files with 27 additions and 27 deletions
+4 -4
View File
@@ -4,11 +4,11 @@
{% 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="{{ site.baseurl }}{{ item.url }}">{{ collectiondata.title }}</a>
{% else %}
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
<a href="{{ site.baseurl }}{{ item.url }}">{{ collectiondata.title }}</a>
{% else %}
<a href="{{ site.baseurl }}{{ item.url }}">{{ item.title }}</a>
{% endif %}
{% endif %}
</li>
{% endunless %}
{% endfor %}