Skip to content

Commit 74d8746

Browse files
committed
Fix double toc
1 parent a0aa42d commit 74d8746

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

layouts/_default/docs.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,6 @@ <h1>{{ .Title }}</h1>
5252
</div>
5353
</section>
5454
</section>
55-
{{ partial "previous-next-links-in-section-with-title.html" . }}
56-
</main>
57-
{{ if and (gt .WordCount 200 ) (.Params.toc) }}
58-
{{ if (add (len (findRE "<h3" .Content)) (len (findRE "<h2" .Content))) }}
59-
<div id="toc" class="col-md-3 d-none d-xl-block d-print-none nginx-toc align-top">
60-
{{ partial "toc.html" . }}
61-
</div>
62-
{{ end }}
63-
{{ end }}
64-
65-
</div>
66-
</section>
67-
</section>
68-
6955
</div>
7056
<!-- If there is a script defined in the page metadata, load it -->
7157
{{if .Params.script}}

0 commit comments

Comments
 (0)