From f91cb74cdcea5120cb94759af86344f574907822 Mon Sep 17 00:00:00 2001 From: Fabien Cazenave Date: Sun, 10 Nov 2024 04:50:28 +0100 Subject: [PATCH] regression fix: broken h1+p (#272) --- www/layouts/_default/single.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/layouts/_default/single.html b/www/layouts/_default/single.html index 0e60456f..ae1ea1ef 100644 --- a/www/layouts/_default/single.html +++ b/www/layouts/_default/single.html @@ -3,14 +3,14 @@ {{ $date := .Date }} {{ $author := index .Site.Data.authors (.Params.author | default "default") }} -

- {{ if $author }} + {{ if $author }} +

{{ $author.name }} - {{ end -}} {{ if $date }} – {{ end }} -

+

+ {{ end -}} {{ .Content }}