diff options
| author | Eltrac <hi@guhub.cn> | 2025-11-06 11:19:13 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-11-06 11:19:13 +0800 |
| commit | 26c992ac57568b7253e12802e5a9d057a12b016e (patch) | |
| tree | a4ae707cc45fb6f3e4a30ab6ced149a3d9577689 /layouts/_partials/header.html | |
| parent | c2dc6de7c3dd63918c4b2626531780ece89405d2 (diff) | |
feat: replace term title with header title
Diffstat (limited to 'layouts/_partials/header.html')
| -rw-r--r-- | layouts/_partials/header.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_partials/header.html b/layouts/_partials/header.html index 9ef52b42..75410879 100644 --- a/layouts/_partials/header.html +++ b/layouts/_partials/header.html @@ -10,6 +10,9 @@ {{ if .IsHome }} {{ .Site.Title }} {{ else }} + {{ if eq .Kind "term" }} + {{ if eq .Data.Singular "tag" }}#{{ else }}+{{ end }} + {{ end }} {{ .Title }} {{ end }} </a |
