aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.html b/templates/index.html
index c44de41..9fa741a 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -5,9 +5,9 @@
{% if config.extra.list_pages %}
{% if paginator %}
-{% set pages = paginator.pages %}
+{% set pages = paginator.pages | sort(attribute="date") | reverse %}
{% else %}
-{% set pages = section.pages %}
+{% set pages = section.pages | sort(attribute="date") | reverse %}
{% endif %}
<ul>
{% for page in pages %}