diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-26 19:15:51 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-26 19:15:51 -0800 |
| commit | b02618023387326b049856e1548f58e47e77e8ed (patch) | |
| tree | 2cf9644b3315adee0ea355ae9a5ce1a2ef9728f1 | |
| parent | remove unused script (diff) | |
| download | fcuny.net-b02618023387326b049856e1548f58e47e77e8ed.tar.gz | |
sort pages by date
| -rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 %} <hr /> -{%- for post in section.pages -%} +{%- for post in section.pages | sort(attribute="date", reverse=false) -%} <section> <ul class="post-list"> <li> |
