Table of Contents
A Hugo shortcode to display the Hugo Table of Contents on your Markdown pages.
# file.md
{{< toc >}}
Content of the page.
# toc.html
<div class="toc">
{{ .Page.TableOfContents }}
</div>
A Hugo shortcode to display the Hugo Table of Contents on your Markdown pages.
# file.md
{{< toc >}}
Content of the page.
# toc.html
<div class="toc">
{{ .Page.TableOfContents }}
</div>