fix: sort tag articles by date
This commit is contained in:
parent
19e4c2ce29
commit
06a7438263
@ -17,7 +17,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="articles-container">
|
<div class="articles-container">
|
||||||
<ul>
|
<ul>
|
||||||
{% for article in article_links -%}
|
{% for article in article_links | sort(attribute="frontmatter.published") | reverse -%}
|
||||||
<a href="/articles/{{ article.link }}">
|
<a href="/articles/{{ article.link }}">
|
||||||
<li>
|
<li>
|
||||||
{{ front_matter_macro::gen(frontmatter=article.frontmatter,
|
{{ front_matter_macro::gen(frontmatter=article.frontmatter,
|
||||||
|
Loading…
Reference in New Issue
Block a user