From cf0aaea41de8aec7cf9fd700a6c0477f2ab381e6 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 17 Sep 2023 19:20:17 -0500 Subject: [PATCH] layout: tweak tags presentation --- layouts/partials/aside.html | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 3a65cd6..a896cde 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -5,27 +5,32 @@

{{ if .Params.date }}{{- if ne $postDate $updateDate }}{{ end }}
posted:{{ $postDate }}
updated:{{ $updateDate }}
{{ end }}

-

+


{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }} -

On this page

+

+

On this page

{{ .TableOfContents }}
+

{{ end }} {{- with .Params.tags -}} - tags:
+

+

Tags

+ [all] {{- range . }} {{- $tag := urlize . -}} [{{ . }}] {{- end }} +


- {{- end }}

+ {{- end }} {{ end }} {{ if isset .Params "series" }} {{$related := where .Site.RegularPages ".Params.series" "eq" .Params.series }} {{- $relatedLimit := default 8 .Site.Params.numberOfRelatedPosts }} -

More {{ .Params.series }}

+

More {{ .Params.series }}