summaryrefslogtreecommitdiff
path: root/layouts/articles/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/articles/single.html')
-rw-r--r--layouts/articles/single.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/articles/single.html b/layouts/articles/single.html
index 62a23d3..7df87e4 100644
--- a/layouts/articles/single.html
+++ b/layouts/articles/single.html
@@ -27,6 +27,10 @@
</header>
<main>
+ <details>
+ <summary>Table of contents</summary>
+ {{ .TableOfContents }}
+ </details>
{{ .Content }}
{{ partial "footer.html" . }}
</main>