aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authoryingyu5658 <yingyu5658@outlook.com>2025-08-02 17:10:50 +0800
committeryingyu5658 <yingyu5658@outlook.com>2025-08-02 17:10:50 +0800
commit2e3ab877911e60d5fa3b780d4ebe541400b4772a (patch)
treecde013dd6443cb3529b902ade5951cf329b5a235 /layouts/_default/single.html
parent2f6b77df70cafb4b2d58e70c5966378eb2e2af86 (diff)
downloadhugo-theme-concise-2e3ab877911e60d5fa3b780d4ebe541400b4772a.tar.gz
hugo-theme-concise-2e3ab877911e60d5fa3b780d4ebe541400b4772a.zip
修改single.html中的文章标题为h1
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9ca38a7..b9dba40 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,6 +1,6 @@
{{ define "main" }}
<header>{{ partial "header.html" . }}</header>
- <h2>{{ .Title }}</h2>
+ <h1>{{ .Title }}</h1>
<time datetime="{{ .Date | time.Format "2006-01-02" }}">
{{ .Date | time.Format "2006-01-02" }}
</time>