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 3d9714a commit ce7e348Copy full SHA for ce7e348
layouts/shortcodes/toc.html
@@ -0,0 +1,7 @@
1
+{{/* usage: {{<toc>}} will render page .TableOfContents regardless of theme toggle */}}
2
+{{ if .Page.TableOfContents }}
3
+<h1>Table Of Contents</h1>
4
+<div class="shortcode-toc">
5
+ {{ .Page.TableOfContents }}
6
+</div>
7
+{{ end }}
0 commit comments