From 1c466213f871014a574d793fad92a4e934a14bb9 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 }}posted: | {{ $postDate }} |
{{- if ne $postDate $updateDate }}updated: | {{ $updateDate }} |
{{ end }}
{{ 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" }}