remove unnecessary if statement
This commit is contained in:
parent
5efec67714
commit
034efcb463
@ -22,7 +22,6 @@
|
||||
|
||||
{{ if .Params.Toc }}
|
||||
<div class="table-of-contents">
|
||||
{{ if .Params.Toc }}
|
||||
<h1>
|
||||
{{ if .Params.TocTitle }}
|
||||
{{ .Params.TocTitle }}
|
||||
@ -32,7 +31,6 @@
|
||||
Table of Contents
|
||||
{{ end }}
|
||||
</h1>
|
||||
{{ end }}
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user