mirror of
https://github.com/vinta/awesome-python.git
synced 2026-08-04 07:03:57 +00:00
feat(website): mirror index layout on category pages
Add search input, filter chips, no-results block, and back-to-top button to category/group/subcategory pages. Pass filter_urls_json to all page types so tag-chip navigation works site-wide. Fix JS so filter-clear and no-results-clear redirect to / on non-index pages instead of trying to filter a non-existent local table. Remove the now-redundant .category-results CSS overrides. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
033694204c
commit
d64b47b910
5 changed files with 80 additions and 30 deletions
|
|
@ -302,7 +302,7 @@ class TestBuild:
|
|||
assert 'href="https://example.com/w1"' in category_html
|
||||
assert "A widget." in category_html
|
||||
assert 'href="https://github.com/owner/w2"' in category_html
|
||||
assert '<table class="table category-table">' in category_html
|
||||
assert '<table class="table">' in category_html
|
||||
assert "42" in category_html
|
||||
assert "2026-01-01T00:00:00+00:00" in category_html
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue