From 9eae579503c9eda4fd0b95d1cfd0955f1146e5b3 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Wed, 24 Sep 2025 22:29:27 +0800 Subject: feat: enhance active state styling for home nav item Adds a background highlight div for active navigation items and updates button classes for improved appearance and hover behavior. --- layouts/_partials/home/home-nav-item.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/_partials/home/home-nav-item.html b/layouts/_partials/home/home-nav-item.html index b5554acb..cffe62ba 100644 --- a/layouts/_partials/home/home-nav-item.html +++ b/layouts/_partials/home/home-nav-item.html @@ -5,8 +5,14 @@
+ {{ if $active }} +
+ {{ end }} {{ $text }}
-- cgit v1.2.3