hugo-book/layouts/posts/single.html
gobai 44fa55ddde
fix: change article title from h2 to h1 in single.html (#694)
Signed-off-by: go-bai <599500688@qq.com>
2025-04-07 15:25:20 +02: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 }}