aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorverdant <im@verdant.ee>2026-05-31 17:04:18 +0800
committerverdant <im@verdant.ee>2026-05-31 17:04:18 +0800
commitc788bf85fdacb06f548dcecec158b3bb58706f65 (patch)
treeeb5489390cabfcd4099ac5c2b376cfa8b575dd90
parentd072f16225729ce2f84a40083109ae173a7a13a2 (diff)
downloadblog-c788bf85fdacb06f548dcecec158b3bb58706f65.tar.gz
blog-c788bf85fdacb06f548dcecec158b3bb58706f65.zip
Remove the header in single.html, use a link point to home
-rw-r--r--layouts/_default/single.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 407702a..2f71bdc 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,7 +1,6 @@
{{ define "main" }}
<header>
- <span class=site-title><a href={{ "" | relURL }}>{{ .Site.Title }}</a></span>
- <nav>{{ partial "nav.html" . }}</nav>
+ <a href=/>回到首页</a>
</header>
<hr>