summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-21 15:35:12 +0800
committerEltrac <hi@guhub.cn>2025-07-21 15:35:12 +0800
commit7436740eece87396398c4b5dc2fb7ce395cd4ab7 (patch)
treeb4d42b3776bc81411d6f35635ed94d21703ecc65 /layouts
parentf2483906bdd01c89f6f9037aa422144f65488245 (diff)
fix: featured nav item not activated
Former-commit-id: 2d842a9c16db0534183c941b029cb6c59823ae73
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/home/home-nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/home/home-nav.html b/layouts/_partials/home/home-nav.html
index 69e48615..4dea2222 100644
--- a/layouts/_partials/home/home-nav.html
+++ b/layouts/_partials/home/home-nav.html
@@ -9,7 +9,7 @@
{{ partial "home/home-nav-item" (dict
"text" (T "postNav.featured")
"link" "featured"
- "active" (eq "/featured" $.Page.RelPermalink)
+ "active" (eq "/featured/" $.Page.RelPermalink)
) }}
{{ partial "home/home-nav-item" (dict
"text" (T "postNav.categories")