From 46426c57b255874ff6d849a973f530d32586b827 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 12 Sep 2020 00:01:43 +0100 Subject: [PATCH] Make ids match what's shown --- layouts/posts/list.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 3c1043d..edf1903 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -13,9 +13,10 @@ {{ range .Pages.GroupByDate "2006-01" }} {{ $month := print .Key "-01" }} -

- - + {{ $display := dateFormat "2006-01" $month }} +

+ +

{{ range (sort .Pages "Date" "desc") }}