Fix main-article toc if statement postition

This commit is contained in:
Sam 2024-08-07 14:58:19 +01:00
parent 04fcadc4bf
commit 37835808a0
1 changed files with 2 additions and 3 deletions

View File

@ -11,12 +11,11 @@
{{ end }}
</div>
</header>
{{ if .Params.toc }}
<div id="tocWrapper">
<h4>Table of Contents</h4>
{{ if .Params.toc }}
<aside>{{.TableOfContents}}</aside>
{{ end }}
</div>
{{ .Content }}
{{ end }} {{ .Content }}
</article>
</div>