2020-01-12 06:33:02 -08:00
|
|
|
{{ $tocLevels := default (default 6 .Site.Params.GeekdocToC) .Page.Params.GeekdocToC }}
|
|
|
|
|
|
|
|
{{ if and $tocLevels .Page.TableOfContents }}
|
2020-04-14 16:09:53 -07:00
|
|
|
<div class="gdoc-toc gdoc-toc__level--{{$tocLevels}}">{{ .Page.TableOfContents }}<hr></div>
|
2020-01-12 06:33:02 -08:00
|
|
|
{{ end }}
|