remove site.params.toctile from if condition

This commit is contained in:
Dave Derderian 2019-03-25 12:00:41 +09:00
parent 5987519fd6
commit 5efec67714

View File

@ -22,7 +22,7 @@
{{ if .Params.Toc }} {{ if .Params.Toc }}
<div class="table-of-contents"> <div class="table-of-contents">
{{ if or $.Site.Params.TocTitle .Params.Toc }} {{ if .Params.Toc }}
<h1> <h1>
{{ if .Params.TocTitle }} {{ if .Params.TocTitle }}
{{ .Params.TocTitle }} {{ .Params.TocTitle }}