diff --git a/modules/blox-tailwind/layouts/_default/single.html b/modules/blox-tailwind/layouts/_default/single.html index 21eef1f5..e6fde466 100644 --- a/modules/blox-tailwind/layouts/_default/single.html +++ b/modules/blox-tailwind/layouts/_default/single.html @@ -16,8 +16,10 @@
- {{- if .Date | and (not .Params.hide_date) }}{{- .Date | time.Format (site.Params.locale.date_format | default ":date_long") -}}{{ end -}} - {{ if and .Date .Params.authors }}·{{ end -}} + {{- if .Date | and (not .Params.hide_date) -}} + {{- .Date | time.Format (site.Params.locale.date_format | default ":date_long") -}} + {{- if .Params.authors }}·{{ end -}} + {{- end -}} {{ $taxonomy := "authors" }} {{ range $i, $author_obj := (.GetTerms $taxonomy) }}