From 9ba286f5bb29bcb593557597154d427eb43f5d78 Mon Sep 17 00:00:00 2001 From: Sven Dahlstrand Date: Thu, 2 Apr 2026 00:28:33 +0200 Subject: [PATCH 1/2] Remove the unused "bio" class. This change also prevents a null exception from occurring in Hugo 0.158. --- layouts/_default/baseof.html | 2 +- static/assets/css/style.css | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 68f97ef1..c9d039c4 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{ partial "head.html" . }} {{ partial "header.html" . }} -
+
{{ block "main" . }}{{ end }}
{{ partial "footer.html" . }} diff --git a/static/assets/css/style.css b/static/assets/css/style.css index c5065ddb..281d41e0 100644 --- a/static/assets/css/style.css +++ b/static/assets/css/style.css @@ -50,14 +50,6 @@ body { font-weight: 400; } -.bio p:first-child { - margin-top: 0; -} - -.bio li { - list-style-position: outside; -} - /* Nav */ nav.main-nav { From 0bae2f6655e942cc32b62950837681a403f1f472 Mon Sep 17 00:00:00 2001 From: Sven Dahlstrand Date: Thu, 2 Apr 2026 00:29:31 +0200 Subject: [PATCH 2/2] Use .Site.Params.author for Hugo 0.158 compatibility. --- layouts/_default/single.html | 6 +++--- layouts/partials/footer.html | 2 +- layouts/partials/head.html | 2 +- layouts/partials/navigation.html | 2 +- layouts/partials/profile.html | 4 ++-- layouts/post/single.html | 6 +++--- layouts/reply/single.html | 6 +++--- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f4d839cf..ce2ea947 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,10 +9,10 @@

{{ .Title }}

- +
- {{ .Site.Author.name }} - @{{ .Site.Author.username }} + {{ .Site.Params.author.name }} + @{{ .Site.Params.author.username }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0e3149cd..762df6fc 100755 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,7 +4,7 @@