diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-06-01 13:59:04 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-06-01 13:59:04 +0200 |
commit | f5250628e5fbf81e36d8ab5c50f91990572090e1 (patch) | |
tree | fedd3988faddf72192bec8224f656f038915dd53 | |
parent | 366d9cb833666c35b978a13e5eb4445739907ffe (diff) | |
download | rabalderz-f5250628e5fbf81e36d8ab5c50f91990572090e1.tar.gz rabalderz-f5250628e5fbf81e36d8ab5c50f91990572090e1.tar.bz2 rabalderz-f5250628e5fbf81e36d8ab5c50f91990572090e1.zip |
Sort posts in reverse on index page.
-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 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"> |