Add missing gemlog; fix gemlog sort

This commit is contained in:
Erick Ruiz de Chavez 2025-01-12 10:09:12 -05:00
parent 95f7331e57
commit d8f85bddcd
2 changed files with 4 additions and 1 deletions

3
gemlog.gmi Normal file
View file

@ -0,0 +1,3 @@
---
template: gemlog
---

View file

@ -3,7 +3,7 @@
{% if stargem.posts -%} {% if stargem.posts -%}
## Posts ## Posts
{% for post in stargem.posts -%} {% for post in (stargem.posts | sort(attribute='frontmatter.date', reverse=True)) -%}
=> {{ post.path }} {{ post.frontmatter.date.strftime('%F') }} {{ post.frontmatter.title }} => {{ post.path }} {{ post.frontmatter.date.strftime('%F') }} {{ post.frontmatter.title }}
{% endfor -%} {% endfor -%}
{% endif -%} {% endif -%}