diff --git a/assets/hb/modules/blog/scss/post/_content.scss b/assets/hb/modules/blog/scss/post/_content.scss index b04501cb..3aeef25c 100644 --- a/assets/hb/modules/blog/scss/post/_content.scss +++ b/assets/hb/modules/blog/scss/post/_content.scss @@ -14,4 +14,8 @@ h6 { margin-top: 0.5rem; } + + :last-child { + margin-bottom: 0; + } } diff --git a/layouts/authors/terms.html b/layouts/authors/terms.html index 7bcba32d..57489ad1 100644 --- a/layouts/authors/terms.html +++ b/layouts/authors/terms.html @@ -1,35 +1,34 @@ {{- define "main" }} -

- {{- .Title -}} - ({{- len .Data.Pages -}}) -

-
- {{- range $i, $page := sort .Data.Pages ".Data.Pages" "desc" }} -
- {{- $img := partial "hb/modules/blog/author/image" (dict - "Page" . - "Placeholder" false - "ClassName" "hb-blog-term-img img-fluid rounded-circle") - }} - {{- with $img }} -
{{ $img }}
- {{- end }} -
-
-

- - {{- .Title -}} - -

- {{- with .Description }} -

{{ . }}

- {{- end }} +
+
+ {{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-begin" "Page" .) }} +
+ {{- range $i, $page := sort .Data.Pages ".Data.Pages" "desc" }} +
+
+ {{- $img := partial "hb/modules/blog/author/image" (dict + "Page" . + "Placeholder" false + "ClassName" "hb-blog-term-img img-fluid rounded-circle mb-3") + }} + {{- with $img }}{{ . }}{{- end }} +

+ + {{- .Title -}} + +

+ {{- with .Description }} +

{{ . }}

+ {{- end }} + {{ partialCached "hb/modules/blog/term/metrics" . . }} +
-
- {{ partialCached "hb/modules/blog/term/metrics" . . }} -
-
+ {{- end -}}
- {{- end -}} + {{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-end" "Page" .) }} +
+
+ {{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-sidebar" "Page" .) }} +
{{- end -}} diff --git a/layouts/partials/hb/modules/blog/post/comments.html b/layouts/partials/hb/modules/blog/post/comments.html index f9e8b0e7..2647a6ce 100644 --- a/layouts/partials/hb/modules/blog/post/comments.html +++ b/layouts/partials/hb/modules/blog/post/comments.html @@ -1,6 +1,6 @@ {{- if default true .Params.comments }} {{- partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-post-comments-begin" "Page" .) }} -
+
{{- partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-post-comments" "Page" .) }}
{{- partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-comments-end" "Page" .) }} diff --git a/layouts/partials/hb/modules/blog/post/toc.html b/layouts/partials/hb/modules/blog/post/toc.html index f3d91e85..974d1e9c 100644 --- a/layouts/partials/hb/modules/blog/post/toc.html +++ b/layouts/partials/hb/modules/blog/post/toc.html @@ -1,4 +1,5 @@ {{- if partial "base/functions/has-toc" . }} +
{{ i18n "on_this_page" }}

@@ -16,4 +17,5 @@
{{ .TableOfContents }}
+
{{- end }} diff --git a/layouts/partials/hb/modules/blog/single.html b/layouts/partials/hb/modules/blog/single.html index ced6a705..11dde917 100644 --- a/layouts/partials/hb/modules/blog/single.html +++ b/layouts/partials/hb/modules/blog/single.html @@ -1,21 +1,21 @@
{{ partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-main-begin" "Page" .) }} -
-
-

{{ .Title }}

-