1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

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).
This commit is contained in:
Rohan Kumar 2022-03-30 17:46:43 -07:00
parent 02b1a8421e
commit eb2348a633
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,6 +1,6 @@
<aside role="doc-toc">
<details>
<summary id="toc">Table of Contents</summary>
<aside>
<section role="doc-toc">
<h2 id="toc">Table of Contents</h2>
{{.Page.TableOfContents}}
</details>
</section>
</aside>