An opinionated list of Python frameworks, libraries, tools, and resources.
fix(website): remove duplicate tag on group/category pages
The category template rendered a tag for `category.name` plus a tag for `entry.groups[0]`, which duplicated the group name on group pages where those values are identical (e.g. /categories/python-language/ showing "Python Language" twice). It also never rendered `entry.categories`, so group pages omitted each project's actual category. Mirror the index template's tag rendering on category, group, and subcategory pages, and mark whichever tag matches the current page URL as active. Pass `category_urls` and `current_path` to each render call so the template can match by URL.
V
Vinta Chen committed
8e00055c8cf8efe118af1f05154377a0f4a6a677
Parent: b0136ac