fix: sort tag articles by date

This commit is contained in:
Price Hiller 2024-09-05 04:47:44 -05:00
parent 19e4c2ce29
commit 06a7438263
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -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,