From 8d534bcdadbca2bb5343825e119be3e6a710e97a Mon Sep 17 00:00:00 2001 From: Joe Roe Date: Mon, 9 Aug 2021 13:44:57 +0200 Subject: [PATCH] Format dates as YYYY-MM-DD --- 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 16a35f1..4dc326a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,7 +13,7 @@ {{ if or (.Params.author) (.Params.date) }}

{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }} - {{ if .Date }}{{ .Date.Format "2 January 2006" }}{{ end }} + {{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }}

{{ end }} {{ end }}