fix: match category meta titles to search query word order

Category page titles read "ORM Python Libraries", but people search "python orm", so the title word order didn't match the query.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-09-26 23:28:51 +08:00
co-authored by Claude
parent eb51124608
commit 9cc721f533
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ def category_meta_title(name: str, parent_name: str | None = None) -> str:
if len(title) <= 60:
return title
return f"{name} - Awesome Python"
title = f"{name} Python Libraries - Awesome Python"
title = f"Python {name} Libraries - Awesome Python"
if len(title) <= 60:
return title
return f"{name} - Awesome Python"