hugo-book/layouts/posts/single.html
go-bai 2c2485fb65 fix: change article title from h2 to h1 in single.html
Signed-off-by: go-bai <599500688@qq.com>
2025-03-03 22:55:36 +08:00

16 lines
289 B
HTML

{{ define "main" }}
<article class="markdown book-post">
<h1>
{{ partial "docs/title.html" . }}
</h1>
{{ partial "docs/post-meta" . }}
<div class="book-post-content">
{{- .Content -}}
</div>
</article>
{{ end }}
{{ define "toc" }}
{{ partial "docs/toc" . }}
{{ end }}