Fix category highlighting and revert current_local_href breakage
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 43s

- Update shared submodule: category selector uses slug comparison
  instead of current_local_href for active state
- Keep current_local_href commented out in category_context() to
  avoid overriding the base template value used by brand filters

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-19 15:29:06 +00:00
parent 74d6071ad4
commit 05cba16cef
2 changed files with 2 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ def category_context(top_slug: Optional[str], sub_slug: Optional[str], nav: Dict
# list of subcategories, each with its own count
"subs_local": _order_subs_selected_first(subs, sub_slug),
"current_local_href": current_local_href,
#"current_local_href": current_local_href,
}
def _apply_category_blacklist(nav: Dict[str, Dict]) -> Dict[str, Dict]:

2
shared

Submodule shared updated: d404349806...98c3df860b