From b45980e2100ac2aa1411af2901b8f5d4482e4096 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Sun, 17 Dec 2023 13:04:28 +0000 Subject: [PATCH] feat(tailwind): port blog TOC sidebar --- modules/blox-tailwind/layouts/_default/single.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) }}