From 4d2266f4d08cc2787f75fb6a7f45cdde4cdf1652 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 31 Dec 2017 15:53:19 +0000 Subject: [PATCH] Sort items decending in month groups --- layouts/posts/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 616e74b..4920b7a 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -8,7 +8,7 @@

- {{ range .Pages.ByDate }} + {{ range (sort .Pages "Date" "desc") }} {{ partial "list_item.html" . }} {{ end }} {{ end }}