summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorverdant <i@glowisle.me>2026-05-10 18:39:19 +0800
committerverdant <i@glowisle.me>2026-05-10 18:39:19 +0800
commit49b7cc3ffb995afb2ace894a586f7b580def412d (patch)
tree50ba886afb16862531071474edbc328340f684e9
parente8399f99aa1876d7f08828db71be018c8a9b1f5e (diff)
downloadblog-49b7cc3ffb995afb2ace894a586f7b580def412d.tar.gz
blog-49b7cc3ffb995afb2ace894a586f7b580def412d.zip
fix: resolve page flicker on navigation by restoring a previous HTML version
-rw-r--r--hugo.toml2
-rw-r--r--layouts/partials/header.html8
2 files changed, 4 insertions, 6 deletions
diff --git a/hugo.toml b/hugo.toml
index 6cd6e5f..16b49e3 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -4,7 +4,7 @@ hasCJKLanguage = true
enableRobotsTXT = true
pagination.pagerSize = 5
defaultContentLanguage = "zh-CN"
-copyright = "Copyright © 2024 - 2026, GlowIsle."
+copyright = "Copyright © 2024 - 2026, Verdant."
[outputFormats]
[outputFormats.RSS]
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 73e5aaf..982f2da 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,6 +1,4 @@
-<div class="title">
- <a href="{{ "" | relURL }}">
- <h1 class="site-title">{{ .Site.Title }}</h1>
- </a>
-</div>
+<a href="{{ "" | relURL }}" class="title">
+ <h1 class="site-title">{{ .Site.Title }}</h1>
+</a>
<nav>{{- partial "nav.html" . -}}</nav>