diff options
Diffstat (limited to 'layouts/partials/toc.html')
-rw-r--r-- | layouts/partials/toc.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html new file mode 100644 index 0000000..1c6b5e0 --- /dev/null +++ b/layouts/partials/toc.html @@ -0,0 +1,10 @@ +{{ if (.Params.toc) }} +<details class="toc" open> +<summary> + <hr /> +</summary> +<div class="inline toc-content"> + {{.TableOfContents}} +</div> +</details> +{{ end }}
\ No newline at end of file |