Simon Marsh 556c837aa9
All checks were successful
continuous-integration/drone/push Build is passing
Update to new website
2021-01-04 11:41:06 +00:00

6 lines
239 B
HTML

{{ $tocLevels := default (default 6 .Site.Params.GeekdocToC) .Page.Params.GeekdocToC }}
{{ if and $tocLevels .Page.TableOfContents }}
<div class="gdoc-toc gdoc-toc__level--{{$tocLevels}}">{{ .Page.TableOfContents }}<hr></div>
{{ end }}