fix: make articles page sort by date of publication
This commit is contained in:
parent
41962672c5
commit
dd69153e99
@ -16,7 +16,7 @@
|
||||
</div>
|
||||
<div class="articles-container">
|
||||
<ul>
|
||||
{% for article in articles -%}
|
||||
{% for article in articles | sort(attribute="frontmatter.published") | reverse -%}
|
||||
<a href="/articles/{{ article.link }}">
|
||||
<li>
|
||||
{{ front_matter_macro::gen(frontmatter=article.frontmatter, link=article.link) }}
|
||||
@ -27,4 +27,4 @@
|
||||
</div>
|
||||
{% include "footer.html" %}
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user