Add table of contents partial template.

This commit is contained in:
Shawn O'Hare 2016-01-14 20:41:44 -08:00
parent 2c4ac3082f
commit 14cec251c4

View file

@ -0,0 +1,8 @@
{{ if .Params.toc }}
<section>
<details closed class="toc">
<summary>Contents</summary>
{{ .TableOfContents }}
</details>
</section>
{{ end }}