From 1c7753703f393ab92dfec3aead9f862663bd341c Mon Sep 17 00:00:00 2001 From: BernatBC Date: Wed, 24 Jan 2024 11:12:33 +0100 Subject: [PATCH] Fix date duplicated when profile not set --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 754c60ca4..c13fc13d1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -50,7 +50,7 @@
{{ partial "helpers/get-author-name.html" . }}

{{ .Page.Title }}

- {{ if not .Params.profile | default true }} + {{ if not (.Params.profile | default true) }}

{{ .Page.Date | time.Format ":date_full" }}{{ if site.Params.features.readingTime }} | {{ .ReadingTime }} {{i18n "minute" .ReadingTime }}{{ end }}