summaryrefslogtreecommitdiff
path: root/layouts/blog/list.html
diff options
context:
space:
mode:
authorPrefetch2022-10-01 17:26:04 +0200
committerPrefetch2022-10-01 17:26:04 +0200
commit65ed39a3d99983f9d498e0f2694290bb631ff96f (patch)
tree109cbb374d51cae8ae7328e6f1997ce4b97408a2 /layouts/blog/list.html
parent5fb0163dc120039832789db67c7c1e214e79461d (diff)
Add GoatCounter, general fixes
Diffstat (limited to 'layouts/blog/list.html')
-rw-r--r--layouts/blog/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 1bc9c3e..d6ab02f 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -13,7 +13,7 @@
<p>
{{ .Key }}:
<ul>
- {{ range .Pages.ByPublishDate }}
+ {{ range sort .Pages.ByPublishDate ".PublishDate" "desc" }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>