awesome-python/website/templates
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
..
base.html feat(website): generate static category pages 2026-05-02 23:31:08 +08:00
category.html fix(website): remove duplicate tag on group/category pages 2026-05-03 07:51:39 +08:00
index.html feat(website): add data-url to tag buttons for client-side routing 2026-05-03 00:44:43 +08:00
llms.txt feat: generate llms.txt from template and annotate entries with star counts 2026-05-02 02:32:18 +08:00