From 06ba3b42803a5c1bf763e0336fdeb642f82f8fe9 Mon Sep 17 00:00:00 2001 From: Morgan Date: Tue, 5 Mar 2024 14:38:30 +0900 Subject: [PATCH] Update post_meta.html --- themes/mytheme/layouts/partials/post_meta.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/mytheme/layouts/partials/post_meta.html b/themes/mytheme/layouts/partials/post_meta.html index c5ad4fa..785379d 100644 --- a/themes/mytheme/layouts/partials/post_meta.html +++ b/themes/mytheme/layouts/partials/post_meta.html @@ -1,7 +1,7 @@ {{- $scratch := newScratch }} {{- if not .Date.IsZero -}} -{{- $scratch.Add "meta" (slice (printf "%s" (.Date) (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }} +{{- $scratch.Add "meta" (slice (printf "%s" (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }} {{- end }} {{- if (.Param "ShowReadingTime") -}}