From 8f318183707092ac885af255b87184b05fdd872c Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 17 Sep 2023 19:06:33 -0500 Subject: [PATCH] layout: move toc above tags --- layouts/partials/aside.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 61a306a..3a65cd6 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -6,20 +6,20 @@ {{ 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

+ {{ .TableOfContents }} +
+ {{ end }} {{- with .Params.tags -}} tags:
{{- range . }} {{- $tag := urlize . -}} [{{ . }}] {{- end }} +
{{- end }}

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

On this page

- {{ .TableOfContents }} -
{{ end }} {{ if isset .Params "series" }}