mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-09 17:42:19 +00:00
hide short tables of contentses
This commit is contained in:
parent
9dd3a8ac58
commit
0ad452dc28
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
</p>
|
||||
{{ end }}
|
||||
|
||||
{{ if and (.Params.toc) (.TableOfContents) }}
|
||||
{{ if and (.Params.toc) (gt .WordCount 400 ) (gt (len .TableOfContents) 180) (.TableOfContents) }}
|
||||
<hr>
|
||||
On this page:
|
||||
{{ .TableOfContents }}
|
||||
|
|
Loading…
Reference in a new issue