mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-23 07:22:18 +00:00
improve logic for inserting <hr> in aside
This commit is contained in:
parent
1462600b5d
commit
c83227d2a4
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue