remove site.params.toctile from if condition
This commit is contained in:
parent
460409971b
commit
bb19133255
@ -29,15 +29,15 @@
|
|||||||
|
|
||||||
{{ if .Params.Toc }}
|
{{ if .Params.Toc }}
|
||||||
<div class="table-of-contents">
|
<div class="table-of-contents">
|
||||||
<h2>
|
<h2>
|
||||||
{{ if .Params.TocTitle }}
|
{{ if .Params.TocTitle }}
|
||||||
{{ .Params.TocTitle }}
|
{{ .Params.TocTitle }}
|
||||||
{{ else if $.Site.Params.TocTitle }}
|
{{ else if $.Site.Params.TocTitle }}
|
||||||
{{ $.Site.Params.TocTitle }}
|
{{ $.Site.Params.TocTitle }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
Table of Contents
|
Table of Contents
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</h2>
|
</h2>
|
||||||
{{ .TableOfContents }}
|
{{ .TableOfContents }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user