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