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:
parent
c60da5ec3a
commit
a014283775
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue