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 }} {{ if .Params.Toc }}
<div class="table-of-contents"> <div class="table-of-contents">
{{ if .Params.Toc }}
<h1> <h1>
{{ if .Params.TocTitle }} {{ if .Params.TocTitle }}
{{ .Params.TocTitle }} {{ .Params.TocTitle }}
@ -32,7 +31,6 @@
Table of Contents Table of Contents
{{ end }} {{ end }}
</h1> </h1>
{{ end }}
{{ .TableOfContents }} {{ .TableOfContents }}
</div> </div>
{{ end }} {{ end }}