From f61a5f2911abc1506851980da5f4f6edd69d9134 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 6 Jan 2020 19:09:10 +0100 Subject: Use ISO8601 date format --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index de3f121..0372f1d 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@

{{ .Title | markdownify }}

{{ with .Params.author }}

{{ . }}

{{ end }} -{{ if (gt .Params.date 0) }}

{{ .Date.Format "2006/01/02" }}

{{ end }} +{{ if (gt .Params.date 0) }}

{{ .Date.Format "2006-01-02" }}

{{ end }}
-- cgit 1.4.1