From e660d18e503c345549bd0d2545bf37c79076e27f Mon Sep 17 00:00:00 2001 From: Morgan Date: Sun, 29 Oct 2023 11:19:26 +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 3dcb80c..77ad761 100644 --- a/themes/mytheme/layouts/_default/single.html +++ b/themes/mytheme/layouts/_default/single.html @@ -14,7 +14,7 @@
{{- if not .Date.IsZero -}} - {{- (slice (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 }}