[Catalog-sig] Page titles

Éric Araujo merwok at netwok.org
Thu Jun 30 16:02:16 CEST 2011


> I often search for packages like 'soap' and open a lot of tabs. It is
> impossible to navigate this mess, because all tabs are named like
> "Python Package Index : package name" and 'package name' is of course
> invisible. The obvious way to fix this is below (with full patch
> attached).
> Index: pypi/templates/standard_template.pt
> ===================================================================
> -      <title tal:content="string:Python Package Index : ${data/title}" />
> +      <title tal:content="string:${data/title} : Python Package Index" />

Agreed about the bug and fix, only I’d use a — character, not a
semicolon.  It’s a good practice on the Web to put the generic part of
the title after the specific part.

> However, it changes URL for all pages, which may be not what is
> desired.

Does it really change URIs?  I thought this was about titles only.


More information about the Catalog-SIG mailing list