Unify intentation of Nunjucks if blocks
This commit is contained in:
parent
6027bdff52
commit
a61f8f5e6d
|
@ -52,8 +52,8 @@
|
|||
|
||||
{% if tags and tags.includes("posts") %}
|
||||
<nav class="blog__post--pagination" aria-labelledby="nextprev-title">
|
||||
<h2 class="visually-hidden" id="nextprev-title">Next and Previous Blog Posts</h2>
|
||||
{%- if collections.posts %}
|
||||
<h2 class="visually-hidden" id="nextprev-title">Next and Previous Blog Posts</h2>
|
||||
{%- set previousPost = collections.posts | getPreviousCollectionItem %}
|
||||
{%- set nextPost = collections.posts | getNextCollectionItem %}
|
||||
{%- if nextPost or previousPost %}
|
||||
|
|
Loading…
Reference in New Issue