layouts/_default/single.html: change table of contents header to h1 not h2

This commit is contained in:
revsuine 2024-11-25 01:56:26 +00:00
parent b09f47aae7
commit 5e9810af9b
Signed by: revsuine
GPG key ID: 3F257B68F5BC9339

View file

@ -31,9 +31,9 @@
{{ if (.Params.Toc | default .Site.Params.Toc) }}
<div class="table-of-contents">
<h2>
<h1>
{{ (.Params.TocTitle | default .Site.Params.TocTitle) | default "Table of Contents" }}
</h2>
</h1>
{{ .TableOfContents }}
</div>
{{ end }}