trwnh.com/wiki.hugo/layouts/shortcodes/toc.html

6 lines
No EOL
142 B
HTML

<aside class="toc section">
<details open>
<summary class="toc-title">Contents</summary>
{{ .Page.TableOfContents }}
</details>
</aside>