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