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