From d731827930c316e7566da7421e94fef5d3590924 Mon Sep 17 00:00:00 2001 From: Nils Ramsperger Date: Sat, 12 Feb 2022 20:01:09 +0100 Subject: [PATCH] Date is hidden when none is provided --- layouts/_default/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index fac5bd9..d1b471e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,9 @@

+ {{ if .Date }} + {{ end }} {{ if or .Params.Author site.Author.name }} {{ .Params.Author | default site.Author.name }} {{ end }}