Fix main-article toc if statement postition
This commit is contained in:
parent
04fcadc4bf
commit
37835808a0
|
@ -11,12 +11,11 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
{{ if .Params.toc }}
|
||||||
<div id="tocWrapper">
|
<div id="tocWrapper">
|
||||||
<h4>Table of Contents</h4>
|
<h4>Table of Contents</h4>
|
||||||
{{ if .Params.toc }}
|
|
||||||
<aside>{{.TableOfContents}}</aside>
|
<aside>{{.TableOfContents}}</aside>
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ .Content }}
|
{{ end }} {{ .Content }}
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue