Add missing gemlog; fix gemlog sort
This commit is contained in:
parent
95f7331e57
commit
d8f85bddcd
2 changed files with 4 additions and 1 deletions
3
gemlog.gmi
Normal file
3
gemlog.gmi
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
template: gemlog
|
||||||
|
---
|
|
@ -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 -%}
|
||||||
|
|
Loading…
Reference in a new issue