Clean up indentation
This commit is contained in:
parent
3f31c09342
commit
d5603a44ae
|
@ -1,34 +1,34 @@
|
||||||
{% if paginator.posts %}
|
{% if paginator.posts %}
|
||||||
|
|
||||||
<ul class="list list--posts">
|
<ul class="list list--posts">
|
||||||
{% for page in paginator.posts %}
|
{% for page in paginator.posts %}
|
||||||
<li class="item item--post">
|
<li class="item item--post">
|
||||||
<article class="article article--post typeset">
|
<article class="article article--post typeset">
|
||||||
|
|
||||||
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
||||||
{% include post-meta.html %}
|
{% include post-meta.html %}
|
||||||
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% include post-pagination.html %}
|
{% include post-pagination.html %}
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
<ul class="list list--posts">
|
<ul class="list list--posts">
|
||||||
{% for page in site.posts %}
|
{% for page in site.posts %}
|
||||||
<li class="item item--post">
|
<li class="item item--post">
|
||||||
<article class="article article--post typeset">
|
<article class="article article--post typeset">
|
||||||
|
|
||||||
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
||||||
{% include post-meta.html %}
|
{% include post-meta.html %}
|
||||||
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
{% 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 %}">
|
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
||||||
{% if item.collectionpage %}
|
{% if item.collectionpage %}
|
||||||
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
|
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
|
||||||
<a href="{{ site.baseurl }}{{ item.url }}">{{ collectiondata.title }}</a>
|
<a href="{{ site.baseurl }}{{ item.url }}">{{ collectiondata.title }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ site.baseurl }}{{ item.url }}">{{ item.title }}</a>
|
<a href="{{ site.baseurl }}{{ item.url }}">{{ item.title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue