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
Raw Normal View History

2020-12-27 22:19:01 +01:00
{{ if and (gt .WordCount 400 ) (.Params.toc) }}
<aside class="toc">
<header>
<h2>Table of contents</h2>
</header>
{{.TableOfContents}}
</aside>
{{ end }}