mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-25 04:02:19 +00:00
improve logic for inserting <hr> in aside
This commit is contained in:
parent
bbad77c4e9
commit
bca53dbd8a
1 changed files with 1 additions and 1 deletions
|
@ -12,9 +12,9 @@
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
</p>
|
||||
<hr>
|
||||
{{ end }}
|
||||
{{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}
|
||||
<hr>
|
||||
<h2>On this page</h2>
|
||||
{{ .TableOfContents }}
|
||||
<hr>
|
||||
|
|
Loading…
Reference in a new issue