about summary refs log tree commit diff
path: root/users/fcuny/blog
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-08-24 19:21:23 -0700
committerFranck Cuny <franck@fcuny.net>2021-08-24 19:25:57 -0700
commit5fcc5d8c61c245b7f08673db76865e23ee77771e (patch)
treee27e5a431058d47ec0354f62e93baa7009e570db /users/fcuny/blog
parentbuild: sleep before tagging (diff)
downloadworld-5fcc5d8c61c245b7f08673db76865e23ee77771e.tar.gz
blog: sort pages in reverse order
Diffstat (limited to '')
-rw-r--r--users/fcuny/blog/layouts/partials/postlist.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/fcuny/blog/layouts/partials/postlist.html b/users/fcuny/blog/layouts/partials/postlist.html
index e124482..3d5cf04 100644
--- a/users/fcuny/blog/layouts/partials/postlist.html
+++ b/users/fcuny/blog/layouts/partials/postlist.html
@@ -1,7 +1,7 @@
 {{ range .GroupByDate "2006" }}
   <h2>{{ .Key }}</h2>
   <ul>
-    {{ range .Pages.ByDate }}
+    {{ range .Pages.ByDate.Reverse }}
     <li>
       <div>
         <a href="{{ .Permalink }}">{{ .Title }}</a>