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 }}
-{{ .Title }}
+{{ .Title }}
{{- partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-post-content-begin" "Page" .) }} {{- $attributes := partial "hugopress/functions/render-attributes" (dict "Page" . "Name" "hb-blog-post-content") }}+
{{ range $metrics }}-
- {{ .count }}
+ {{ .count }}
{{ .title }}
{{ end }}
diff --git a/layouts/partials/hb/modules/blog/term/profile.html b/layouts/partials/hb/modules/blog/term/profile.html
index e475125c..4202afe5 100644
--- a/layouts/partials/hb/modules/blog/term/profile.html
+++ b/layouts/partials/hb/modules/blog/term/profile.html
@@ -5,11 +5,11 @@
"Placeholder" false
"ClassName" "hb-blog-term-img img-fluid rounded-circle mb-3")
}}
-
+
{{ .Title }}
{{- with .Description }} -{{ . }}
+{{ . }}
{{- end }} {{- with .Params.socials }} {{ partial "hb/modules/blog/term/socials" . }} diff --git a/layouts/partials/hb/modules/blog/term/socials.html b/layouts/partials/hb/modules/blog/term/socials.html index fc685f59..1b7dbef3 100644 --- a/layouts/partials/hb/modules/blog/term/socials.html +++ b/layouts/partials/hb/modules/blog/term/socials.html @@ -8,7 +8,7 @@ {{- $ctx := dict "name" $name "id" $id - "class" "d-flex justify-content-center align-items-center" + "class" "d-flex justify-content-center align-items-center mb-2" "height" "1.75em" "width" "1.75em" "color" $color diff --git a/modules/post-nav/layouts/partials/hb/modules/blog-post-nav/index.html b/modules/post-nav/layouts/partials/hb/modules/blog-post-nav/index.html index 9d0f5928..5784b101 100644 --- a/modules/post-nav/layouts/partials/hb/modules/blog-post-nav/index.html +++ b/modules/post-nav/layouts/partials/hb/modules/blog-post-nav/index.html @@ -3,7 +3,8 @@ {{- if not .PrevInSection }} {{- $justify = "justify-content-end" }} {{- end }} -+{{- if or .PrevInSection .NextInSection }} +
+
{{- $total := len . }}
{{- range $i, $page := . }}
{{ with .PrevInSection }}-
@@ -33,3 +34,4 @@
{{ end }}
+{{- end }} diff --git a/modules/related-posts/layouts/partials/hb/modules/blog-related-posts/index.html b/modules/related-posts/layouts/partials/hb/modules/blog-related-posts/index.html index c2cf3860..d31792d1 100644 --- a/modules/related-posts/layouts/partials/hb/modules/blog-related-posts/index.html +++ b/modules/related-posts/layouts/partials/hb/modules/blog-related-posts/index.html @@ -1,5 +1,5 @@ {{- with .Site.RegularPages.Related . | first .Site.Params.hb.blog.related_posts.number }} -