From 49a350674752a4a29829e0c0d25b31c3f13b8385 Mon Sep 17 00:00:00 2001 From: tdro Date: Mon, 26 Sep 2022 23:32:20 -0400 Subject: themes/default/layouts/_default/home.history: Paginate this --- themes/default/layouts/_default/home.history.html | 69 +++++++++++++---------- 1 file changed, 38 insertions(+), 31 deletions(-) diff --git a/themes/default/layouts/_default/home.history.html b/themes/default/layouts/_default/home.history.html index 03afa5c..b0f0b80 100644 --- a/themes/default/layouts/_default/home.history.html +++ b/themes/default/layouts/_default/home.history.html @@ -8,39 +8,46 @@ {{ define "middle" }} -{{ partial "navigator-middle.html" - (dict - "Title" "History" - "Subtitle" (partial "count-total-messages.html" .) - "Icon" "arrow-left" - "IconLabel" "Back" - "Href" "/" - "Id" "back" - "Context" . - ) -}} + {{ partial "navigator-middle.html" + (dict + "Title" "History" + "Subtitle" (partial "count-total-messages.html" .) + "Icon" "arrow-left" + "IconLabel" "Back" + "Href" "/" + "Id" "back" + "Context" . + ) + }} - - - {{ $type := (partial "author-user.html" .) }} - {{ range (.Site.RegularPages.GroupByDate "2006") }} - {{ range (first 1 .Pages) }} -

{{ .Date.Format "2006" }}

- {{ end }} - - {{ end }} -
-
+ + {{ end }} + + + + {{ partial "pagination.html" . }} + {{ end }} {{ define "right" }} -- cgit v1.2.3