Skip to content

Commit

Permalink
style(archives): minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed May 10, 2024
1 parent 6019c64 commit 69f47c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions layouts/partials/hb/modules/blog/archives/list.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-begin" "Page" .) }}
<div
class="archives border-start border-5 ps-4 pt-3 position-relative">
class="archives border-start border-5 ps-4 position-relative mb-3">
{{ partial "hb/modules/blog/archives/posts" .Paginator.Pages }}
<div class="border-1">
{{ partial "hb/modules/pagination/index" .Paginator }}
</div>
</div>
{{ partial "hb/modules/pagination/index" .Paginator }}
{{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-end" "Page" .) }}
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/archives/posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{- range .GroupByDate "2006" }}
{{- $year := .Key }}
<div class="archive border-1">
<div class="archive-heading h4 mb-4 border-bottom pb-3 border-2">
<div class="archive-heading h4 my-4 border-primary border-bottom pb-3 border-1">
{{- $yearSection := printf "archives/%s" $year }}
{{- with site.GetPage $yearSection }}
<a class="text-decoration-none" href="{{ .RelPermalink }}">
Expand Down

0 comments on commit 69f47c2

Please sign in to comment.