aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.toml4
-rw-r--r--templates/index.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/config.toml b/config.toml
index eff0727..016f521 100644
--- a/config.toml
+++ b/config.toml
@@ -3,7 +3,7 @@ title = "no style, please!"
description = "A (nearly) no-CSS, fast, minimalist Zola theme."
compile_sass = true
-generate_feed = true
+generate_feeds = true
taxonomies = [
{ name = "tags" },
@@ -27,4 +27,4 @@ footer_nav = [
{ name = "< previous", url = "#" },
{ name = "webring", url = "#" },
{ name = "next >", url = "#" },
-] \ No newline at end of file
+]
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 %}