feat: humanize project titles in listing

Convert slugged project head titles to readable format in the projects listing page by applying `unslugify` to the title before rendering. This enhances UI readability, making project titles more accessible and understandable to users. The change only affects how titles are displayed, with no impact on underlying data structures or URL schemes.
This commit is contained in:
Kumi 2024-05-25 15:42:40 +02:00
parent c60da5ec3a
commit a014283775
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -483,7 +483,7 @@ def project_list(head, sort="", per_page=20):
return render_template(
"projects.html",
title=head,
title=unslugify(head)[0],
ibles=ibles,
path=path,
pagination=get_pagination(request, total, per_page),