From 262d914e5d0b2fd77117226445da98c8c20188d1 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Wed, 21 Oct 2026 22:32:39 +0800 Subject: [PATCH] fix: correct site copy that described a tag filter and mixed terminology Copy told visitors to tap a tag to filter and mentioned a filter although tags are plain links and no filter exists; casing and terminology were inconsistent. Co-Authored-By: Claude --- website/build.py | 4 ++-- website/templates/base.html | 3 ++- website/templates/category.html | 14 +++++++------- website/templates/index.html | 16 ++++++++-------- website/templates/redirect.html | 2 +- website/tests/test_build.py | 4 ++-- 6 files changed, 22 insertions(+), 21 deletions(-) diff --git a/website/build.py b/website/build.py index 1697e6e5..02517372 100755 --- a/website/build.py +++ b/website/build.py @@ -36,7 +36,7 @@ BUILTIN_PUBLIC_URL = f"{SITE_URL}categories/{BUILTIN_SLUG}/" SPONSORSHIP_PATH = "/sponsorship/" SPONSORSHIP_PUBLIC_URL = f"{SITE_URL}sponsorship/" -SPONSORSHIP_DESCRIPTION = "Sponsorship for awesome-python: tiers, audience, and how to get your product in front of professional Python developers evaluating tools for production use." +SPONSORSHIP_DESCRIPTION = "Sponsorship for Awesome Python: tiers, audience, and how to get your product in front of professional Python developers evaluating tools for production use." BUNDLED_PREFIX_RE = re.compile(r"^\(part of ") @@ -280,7 +280,7 @@ def category_meta_description(name: str, entry_count: int, description: str) -> if description: lead = description if description.endswith((".", "!", "?")) else f"{description}." return f"{lead} {count_sentence}" - return f"{count_sentence} Part of the Awesome Python catalog." + return f"{count_sentence} Part of the Awesome Python list." def subcategory_meta_description(name: str, parent_name: str, entry_names: Sequence[str]) -> str: diff --git a/website/templates/base.html b/website/templates/base.html index dc164347..3f21ca5b 100644 --- a/website/templates/base.html +++ b/website/templates/base.html @@ -62,7 +62,8 @@
{% block content %}{% endblock %} diff --git a/website/templates/category.html b/website/templates/category.html index b48362ab..fdbfb18a 100644 --- a/website/templates/category.html +++ b/website/templates/category.html @@ -215,7 +215,7 @@ {% set named_groups = entry_groups | selectattr("name") | list %}

{% if group_categories %}Listed by section, in editorial order.{% elif named_groups %}Listed in editorial order, grouped by use case.{% else %}Listed in editorial order.{% endif %} - Click a column to re-sort the whole list. + Click a column header to re-sort the whole list.

{% else %}
@@ -223,7 +223,7 @@
{% endif %}

- Press / to search. Tap a tag to filter. Click any row for + Press / to search. Tags open their category. Click a row for details.

@@ -248,8 +248,8 @@ @@ -260,7 +260,7 @@ class="table-wrap" tabindex="0" role="region" - aria-label="Libraries table" + aria-label="Projects table" > @@ -270,7 +270,7 @@
- + @@ -318,7 +318,7 @@ @@ -121,7 +121,7 @@ class="table-wrap" tabindex="0" role="region" - aria-label="Libraries table" + aria-label="Projects table" > @@ -131,7 +131,7 @@
- + @@ -280,7 +280,7 @@