diff options
author | xengineering <me@xengineering.eu> | 2023-03-24 19:45:22 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-03-24 19:45:22 +0100 |
commit | aaf42de1c90eed876b19943c414d6c8f65af351a (patch) | |
tree | 1919fddd0f297cb53992d242f460fd891dae0e0c /layouts | |
parent | c6c71799df9bf4476f6a54e304a9fd730cfe65e0 (diff) | |
download | website-aaf42de1c90eed876b19943c414d6c8f65af351a.tar website-aaf42de1c90eed876b19943c414d6c8f65af351a.tar.zst website-aaf42de1c90eed876b19943c414d6c8f65af351a.zip |
Add TOC for article(s)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/articles/single.html | 4 |
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> |