layouts/_default/single.html: change table of contents header to h1 not h2
This commit is contained in:
parent
b09f47aae7
commit
5e9810af9b
1 changed files with 2 additions and 2 deletions
|
@ -31,9 +31,9 @@
|
||||||
|
|
||||||
{{ if (.Params.Toc | default .Site.Params.Toc) }}
|
{{ if (.Params.Toc | default .Site.Params.Toc) }}
|
||||||
<div class="table-of-contents">
|
<div class="table-of-contents">
|
||||||
<h2>
|
<h1>
|
||||||
{{ (.Params.TocTitle | default .Site.Params.TocTitle) | default "Table of Contents" }}
|
{{ (.Params.TocTitle | default .Site.Params.TocTitle) | default "Table of Contents" }}
|
||||||
</h2>
|
</h1>
|
||||||
{{ .TableOfContents }}
|
{{ .TableOfContents }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue