Skip to content

Commit 979c0d5

Browse files
committed
Toc: Enable basic toc in mf
1 parent db1d92e commit 979c0d5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

layouts/_default/docs.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ <h1>{{ .Title }}</h1>
4646
<div id="toc" class="col-md-3 d-none d-xl-block d-print-none nginx-toc align-top">
4747
{{ partial "toc.html" . }}
4848
</div>
49+
<div>
50+
{{ partial "toc-v2.html" . }}
51+
</div>
4952
{{ end }}
5053
{{ end }}
5154

layouts/partials/toc-v2.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ .TableOfContents }}

0 commit comments

Comments
 (0)