remove unnecessary if statement

This commit is contained in:
Dave Derderian 2019-03-25 13:12:59 +09:00
parent 5efec67714
commit 034efcb463

View File

@ -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 }}