This repository has been archived on 2024-09-02. You can view files and clone it, but cannot push or open issues or pull requests.
hugo-theme-nocolor/layouts/partials/toc.html

9 lines
168 B
HTML

{{ if and (gt .WordCount 400 ) (.Params.toc) }}
<aside class="toc">
<header>
<h2>Table of contents</h2>
</header>
{{.TableOfContents}}
</aside>
{{ end }}