Sort with most recently modified at the top

This commit is contained in:
Devon Campbell 2023-07-30 08:52:56 -05:00
commit 960966dcc4

View file

@ -12,7 +12,7 @@ pagination:
<p>Like posts, lists are sorted by most recently modified.</p> <p>Like posts, lists are sorted by most recently modified.</p>
<ul class="post-list"> <ul class="post-list">
{%- for list in collections.list -%} {%- for list in collections.list | reverse -%}
<li> <li>
<h2><a href="{{ list.url }}">{{ list.data.title }}</a></h2> <h2><a href="{{ list.url }}">{{ list.data.title }}</a></h2>
<small>Last updated {{ list.date | formatDatetimeForHumans }}</small> <small>Last updated {{ list.date | formatDatetimeForHumans }}</small>