From c83227d2a464d04502283c136d37fc7aed884623 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 }}