about summary refs log tree commit diff
path: root/layouts/partials
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
commite0a2eed73b7f80f07e0f93391bf9fc5c699691ab (patch)
treedcc99e9d82d192d01807c9b8b5842bc351380b14 /layouts/partials
parentbuild: sleep before tagging (diff)
downloadfcuny.net-e0a2eed73b7f80f07e0f93391bf9fc5c699691ab.tar.gz
blog: sort pages in reverse order
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/postlist.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/postlist.html b/layouts/partials/postlist.html
index e124482..3d5cf04 100644
--- a/layouts/partials/postlist.html
+++ b/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>