fix: change article title from h2 to h1 in single.html (#694)

Signed-off-by: go-bai <599500688@qq.com>
This commit is contained in:
gobai 2025-04-07 21:25:20 +08:00 committed by GitHub
parent 95bef1b75f
commit 44fa55ddde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{{ define "main" }} {{ define "main" }}
<article class="markdown book-post"> <article class="markdown book-post">
<h2> <h1>
{{ partial "docs/title.html" . }} {{ partial "docs/title.html" . }}
</h2> </h1>
{{ partial "docs/post-meta" . }} {{ partial "docs/post-meta" . }}
<div class="book-post-content"> <div class="book-post-content">
{{- .Content -}} {{- .Content -}}