commit 0193054c1a28f9d3d2501b3b397f531c0b4a57e8
parent f93c7215f9586b28d1d79823e2f642dfceeff192
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date: Tue, 13 Dec 2022 15:46:52 +0200
Change date format to show entire month name in the heading
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -2,7 +2,7 @@
<div class="article-meta">
<h1><span class="title">{{ .Title | markdownify }}</span></h1>
{{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }}
-{{ if .Params.date }}<h2 id= "date" class="date">{{ .Date.Format "02 Jan 2006" }}</h2>{{ end }}
+{{ if .Params.date }}<h2 id= "date" class="date">{{ .Date.Format "2 January 2006" }}</h2>{{ end }}
<p class="terms">
{{ range $i := (slice "categories" "tags") }}
{{ with ($.Param $i) }}