Fix category highlighting and revert current_local_href breakage
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 43s
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:
@@ -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
|
# list of subcategories, each with its own count
|
||||||
"subs_local": _order_subs_selected_first(subs, sub_slug),
|
"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]:
|
def _apply_category_blacklist(nav: Dict[str, Dict]) -> Dict[str, Dict]:
|
||||||
|
|||||||
2
shared
2
shared
Submodule shared updated: d404349806...98c3df860b
Reference in New Issue
Block a user