1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-30 15:22:09 +00:00
seirdy.one/layouts/shortcodes/toc.html
Rohan Kumar eb2348a633
Make TOC a normal section, not a <details>
The TOC should be a normal section and a change to visibility isn't
necessary. Avoids the complexity of buttons (<summary> is a button).
2022-03-30 17:46:43 -07:00

6 lines
115 B
HTML

<aside>
<section role="doc-toc">
<h2 id="toc">Table of Contents</h2>
{{.Page.TableOfContents}}
</section>
</aside>