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 | 5fcc5d8c61c245b7f08673db76865e23ee77771e (patch) | |
tree | e27e5a431058d47ec0354f62e93baa7009e570db /users | |
parent | build: sleep before tagging (diff) | |
download | world-5fcc5d8c61c245b7f08673db76865e23ee77771e.tar.gz |
blog: sort pages in reverse order
Diffstat (limited to 'users')
-rw-r--r-- | users/fcuny/blog/layouts/partials/postlist.html | 2 |
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> |