diff --git a/layouts/partials/hb/modules/blog/archives/list.html b/layouts/partials/hb/modules/blog/archives/list.html index d48f6ebf..3904311d 100644 --- a/layouts/partials/hb/modules/blog/archives/list.html +++ b/layouts/partials/hb/modules/blog/archives/list.html @@ -1,9 +1,7 @@ {{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-begin" "Page" .) }}
+ class="archives border-start border-5 ps-4 position-relative mb-3"> {{ partial "hb/modules/blog/archives/posts" .Paginator.Pages }} -
- {{ partial "hb/modules/pagination/index" .Paginator }} -
+{{ partial "hb/modules/pagination/index" .Paginator }} {{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-end" "Page" .) }} diff --git a/layouts/partials/hb/modules/blog/archives/posts.html b/layouts/partials/hb/modules/blog/archives/posts.html index c958cbd1..8e5e913c 100644 --- a/layouts/partials/hb/modules/blog/archives/posts.html +++ b/layouts/partials/hb/modules/blog/archives/posts.html @@ -2,7 +2,7 @@ {{- range .GroupByDate "2006" }} {{- $year := .Key }}
-
+
{{- $yearSection := printf "archives/%s" $year }} {{- with site.GetPage $yearSection }}