We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9205f79 commit dbafb31Copy full SHA for dbafb31
common-theme/layouts/partials/page-header.html
@@ -8,7 +8,7 @@
8
or is we have made a forced list of headings,
9
then go ahead and make a TOC */}}
10
{{ if or $forcedHeadings (and
11
- (gt .Page.WordCount 400) (.Page.TableOfContents))
+ (gt .Page.WordCount 400) (gt (.Page.TableOfContents | findRE "<li>" | len) 1))
12
}}
13
{{ $hasTOC = true }}
14
{{ $mdTOC = true }}
0 commit comments