Reverse tag page post lists
This commit is contained in:
parent
02b39000ae
commit
b3d214426c
@ -14,7 +14,7 @@ eleventyComputed:
|
|||||||
<h1>Posts tagged “{{ tag }}”</h1>
|
<h1>Posts tagged “{{ tag }}”</h1>
|
||||||
|
|
||||||
<ol class="stack-xl" role='list'>
|
<ol class="stack-xl" role='list'>
|
||||||
{% set posts = collections.posts | filterBy(tag) %}
|
{% set posts = collections.posts | filterBy(tag) | reverse %}
|
||||||
{% for item in posts %}
|
{% for item in posts %}
|
||||||
<li class="stack-xs">
|
<li class="stack-xs">
|
||||||
<h2><a href="{{ item.url }}">{{ item.data.title | safe }}</a></h2>
|
<h2><a href="{{ item.url }}">{{ item.data.title | safe }}</a></h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user