Files
paige-hugo/layouts/partials/paige/toc.html
2023-01-21 23:43:53 -08:00

8 lines
316 B
HTML

{{ if and .Content .Params.paige.toc (not (eq (.Scratch.Get "paige_show_full_pages") true)) (ne .TableOfContents `<nav id="TableOfContents"></nav>`) }}
<section class="paige-toc">
<div class="border mb-3 pe-3 ps-3 pt-3 rounded">
{{ .TableOfContents }}
</div>
</section>
{{ end }}