From 25ffbd9bbbd33e332e2e30f730777f84245f09f0 Mon Sep 17 00:00:00 2001 From: rohan kumar Date: Wed, 25 Nov 2020 22:17:58 -0800 Subject: [PATCH] Use a sane date format ISO 8601 and RFC 3339 are the correct date formats. The other date formats are incorrect. --- themes/etch-custom/layouts/_default/single.html | 2 +- themes/etch-custom/layouts/partials/posts.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/etch-custom/layouts/_default/single.html b/themes/etch-custom/layouts/_default/single.html index 9ff8e45..1fbef27 100644 --- a/themes/etch-custom/layouts/_default/single.html +++ b/themes/etch-custom/layouts/_default/single.html @@ -3,7 +3,7 @@

{{ .Title }}

{{- if isset .Params "date" -}} - + {{- end -}}
{{- .Content -}} diff --git a/themes/etch-custom/layouts/partials/posts.html b/themes/etch-custom/layouts/partials/posts.html index 5188092..91efd17 100644 --- a/themes/etch-custom/layouts/partials/posts.html +++ b/themes/etch-custom/layouts/partials/posts.html @@ -1,8 +1,9 @@

Posts

+

Timestamp format: YYYY-MM-DD, as per RFC 3339 and ISO 8601