From 39a03cb315feba846ff3446c1b86bba3f20eae7c Mon Sep 17 00:00:00 2001 From: Morgan Date: Sun, 29 Oct 2023 11:21:16 +0900 Subject: [PATCH] edited post --- themes/mytheme/layouts/_default/single.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/mytheme/layouts/_default/single.html b/themes/mytheme/layouts/_default/single.html index 3f8359a..42a9062 100644 --- a/themes/mytheme/layouts/_default/single.html +++ b/themes/mytheme/layouts/_default/single.html @@ -14,7 +14,9 @@
{{- if not .Date.IsZero -}} - {{- ((printf "%s" (.Date) (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }} + + {{.Date | time.Format (default "January 2, 2006" site.Params.DateFormat) }} + {{- end }}