improve logic for inserting <hr> in aside

This commit is contained in:
John Bowdre 2023-08-23 16:58:49 -05:00
parent bbad77c4e9
commit bca53dbd8a

View file

@ -12,9 +12,9 @@
{{- end }} {{- end }}
{{- end }} {{- end }}
</p> </p>
<hr>
{{ end }} {{ end }}
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }} {{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}
<hr>
<h2>On this page</h2> <h2>On this page</h2>
{{ .TableOfContents }} {{ .TableOfContents }}
<hr> <hr>