summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-02-27 18:56:57 +0100
committerHarald Eilertsen <haraldei@anduin.net>2021-02-27 18:56:57 +0100
commita74d04be77cbe0a9347481fa72b3b8ae954aa701 (patch)
treee85f03f30ff3282c4635868ca438efaaf807a1f5
parentcc18c262d01f4f4f73f41b8ca452db28fdba2cc6 (diff)
downloadrabalderz-a74d04be77cbe0a9347481fa72b3b8ae954aa701.tar.gz
rabalderz-a74d04be77cbe0a9347481fa72b3b8ae954aa701.tar.bz2
rabalderz-a74d04be77cbe0a9347481fa72b3b8ae954aa701.zip
Don't reverse sort order in sections.
The default sort order is from newest to oldest now.
-rw-r--r--templates/film/section.html2
-rw-r--r--templates/section.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/film/section.html b/templates/film/section.html
index e4d221d..85e592d 100644
--- a/templates/film/section.html
+++ b/templates/film/section.html
@@ -10,7 +10,7 @@
{{ section.description }}
<section class="post-list">
- {% for post in section.pages | reverse %}
+ {% for post in section.pages %}
<article class="post">
{% include "film/post_header.html" %}
<section class="post-summary">
diff --git a/templates/section.html b/templates/section.html
index 0440afa..1feec4a 100644
--- a/templates/section.html
+++ b/templates/section.html
@@ -10,7 +10,7 @@
{{ section.description }}
<section class="post-list">
- {% for post in section.pages | reverse %}
+ {% for post in section.pages %}
<article class="post">
{% include "posts/header.html" %}
<section class="post-summary">