diff options
author | Franck Cuny <franck@fcuny.net> | 2021-08-24 19:21:23 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-08-24 19:25:57 -0700 |
commit | e0a2eed73b7f80f07e0f93391bf9fc5c699691ab (patch) | |
tree | dcc99e9d82d192d01807c9b8b5842bc351380b14 | |
parent | build: sleep before tagging (diff) | |
download | fcuny.net-e0a2eed73b7f80f07e0f93391bf9fc5c699691ab.tar.gz |
blog: sort pages in reverse order
-rw-r--r-- | layouts/partials/postlist.html | 2 |
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> |