diff --git a/themes/mytheme/layouts/_default/single.html b/themes/mytheme/layouts/_default/single.html index 3f8359a..42a9062 100644 --- a/themes/mytheme/layouts/_default/single.html +++ b/themes/mytheme/layouts/_default/single.html @@ -14,7 +14,9 @@
{{- if not .Date.IsZero -}} - {{- ((printf "%s" (.Date) (.Date | time.Format (default "January 2, 2006" site.Params.DateFormat)))) }} + + {{.Date | time.Format (default "January 2, 2006" site.Params.DateFormat) }} + {{- end }}