From b02618023387326b049856e1548f58e47e77e8ed Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 26 Dec 2024 19:15:51 -0800 Subject: sort pages by date --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 0425f26..a488970 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@ section.content | safe }} {% endif %}
-{%- for post in section.pages -%} +{%- for post in section.pages | sort(attribute="date", reverse=false) -%}