mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 19:51:45 +00:00
12 lines
305 B
HTML
12 lines
305 B
HTML
{{ partial "header.html" . }}
|
|
{{ if .Params.toc }}
|
|
<div class="col-lg-8 col-md-12">
|
|
{{ .Content }}
|
|
</div>
|
|
<div id="toc" class="col-lg-offset-6 toc {{ if gt (len .TableOfContents) 2500 }}compact{{ end }}">
|
|
{{ .TableOfContents }}
|
|
</div>
|
|
{{ else }}
|
|
{{ .Content }}
|
|
{{ end }}
|
|
{{ partial "footer.html" . }}
|