mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-12-16 19:14:33 -05:00
sort by modified date
This commit is contained in:
parent
bf54e08997
commit
30f7b10783
@ -47,8 +47,9 @@ layout: archive
|
||||
{% else if %}
|
||||
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
|
||||
<h3 class="archive__subtitle">{{ category[0] }}</h3>
|
||||
{% assign sorted_posts = category[1] | sort: 'last_modified_at' | reverse %}
|
||||
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
||||
{% for post in category.last %}
|
||||
{% for post in sorted_posts %}
|
||||
{% include archive-single.html type=page.entries_layout %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user