awesome-python/website
Vinta Chen 8e00055c8c
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.
2026-05-03 07:51:39 +08:00
..
static feat(website): switch index filter URLs from querystring to path 2026-05-03 00:49:41 +08:00
templates fix(website): remove duplicate tag on group/category pages 2026-05-03 07:51:39 +08:00
tests feat(website): add data-url to tag buttons for client-side routing 2026-05-03 00:44:43 +08:00
build.py fix(website): remove duplicate tag on group/category pages 2026-05-03 07:51:39 +08:00
fetch_github_stars.py refactor: replace manual total_seconds()/3600 with timedelta comparison 2026-04-19 22:02:14 +08:00
readme_parser.py add missing links of category descriptions 2026-05-02 23:35:24 +08:00