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") -}}