summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-06-01 13:59:04 +0200
committerHarald Eilertsen <haraldei@anduin.net>2020-06-01 13:59:04 +0200
commitf5250628e5fbf81e36d8ab5c50f91990572090e1 (patch)
treefedd3988faddf72192bec8224f656f038915dd53 /templates
parent366d9cb833666c35b978a13e5eb4445739907ffe (diff)
downloadrabalderz-f5250628e5fbf81e36d8ab5c50f91990572090e1.tar.gz
rabalderz-f5250628e5fbf81e36d8ab5c50f91990572090e1.tar.bz2
rabalderz-f5250628e5fbf81e36d8ab5c50f91990572090e1.zip
Sort posts in reverse on index page.
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index b1bf5ee..8d4165b 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -11,7 +11,7 @@
{% set s = get_section(path=sub) %}
<li><a href="{{s.permalink | safe}}">{{ s.title }}</a></li>
<ul class="post-list">
- {% for post in s.pages %}
+ {% for post in s.pages | reverse %}
<article class="post">
<header class="post-header">
<div class="post-meta">