diff options
| author | verdant <i@glowisle.me> | 2026-05-10 18:39:19 +0800 |
|---|---|---|
| committer | verdant <i@glowisle.me> | 2026-05-10 18:39:19 +0800 |
| commit | 49b7cc3ffb995afb2ace894a586f7b580def412d (patch) | |
| tree | 50ba886afb16862531071474edbc328340f684e9 | |
| parent | e8399f99aa1876d7f08828db71be018c8a9b1f5e (diff) | |
| download | blog-49b7cc3ffb995afb2ace894a586f7b580def412d.tar.gz blog-49b7cc3ffb995afb2ace894a586f7b580def412d.zip | |
fix: resolve page flicker on navigation by restoring a previous HTML version
| -rw-r--r-- | hugo.toml | 2 | ||||
| -rw-r--r-- | layouts/partials/header.html | 8 |
2 files changed, 4 insertions, 6 deletions
@@ -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> |
