mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
3a2748e0d2
Fixes #2226 Closes #2229
12 lines
327 B
HTML
12 lines
327 B
HTML
{{ partial "header.html" . }}
|
|
{{ if .Params.toc }}
|
|
<div class="col-lg-8 col-md-12">
|
|
{{block "main" .}}{{end}}
|
|
</div>
|
|
<div id="toc" class="col-lg-offset-6 toc {{ if gt (len .TableOfContents) 2500 }}compact{{ end }}">
|
|
{{ .TableOfContents }}
|
|
</div>
|
|
{{ else }}
|
|
{{block "main" .}}{{end}}
|
|
{{ end }}
|
|
{{ partial "footer.html" . }}
|