From bca53dbd8a861f3491333e93b90beff670e2f7c3 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 23 Aug 2023 16:58:49 -0500 Subject: [PATCH] improve logic for inserting
in aside --- layouts/partials/aside.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index daac866..8eba8c4 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -12,9 +12,9 @@ {{- end }} {{- end }}

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

On this page

{{ .TableOfContents }}