mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +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" . }}
|