Skip to content

Commit aceae52

Browse files
author
Claudio Cortese
committed
Add details and summary
1 parent ca1e7f5 commit aceae52

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

_layouts/post.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,14 @@ <h1 class="section-heading" data-text="{{ page.title }}" data-delay="{{ page.typ
6363
</header>
6464

6565
<article class="container">
66-
{% include toc.html html=content %}
66+
<details open>
67+
<summary>
68+
Table of Contents
69+
</summary>
70+
71+
{% include toc.html html=content %}
72+
</details>
73+
6774
{{- content -}}
6875
</article>
6976

0 commit comments

Comments
 (0)