Re: Tab Title customization and Tal to Django/Jinja transition
anatoly techtonik <techtonik <at> gmail.com>
2011-07-01 06:30:31 GMT
On Fri, Jul 1, 2011 at 3:01 AM, Richard Jones <richard <at> python.org> wrote:
> On 30 June 2011 04:57, anatoly techtonik <techtonik <at> gmail.com> wrote:
>> Index: pypi/templates/standard_template.pt
>> ===================================================================
>> - <title tal:content="string:Python Package Index : ${data/title}" />
>> + <title tal:content="string:${data/title} : Python Package Index" />
>
> Seems like a good idea. I've double-checked that the easy_install
> "API" doesn't depend on this HTML. Done.
Have you seen the second patch? It should be more cool. I've reattached it.
> Can we stop the rather pointless arguing over templating engines now?
Sure. Pointless arguing is a waste of time. I hoped to get an answer
about superior features of TAL, which didn't seem as popular as
Django/Jinja for me. Now I see that majority of PyPI devs are more
familiar with TAL.
So far my biggest concern is template readability. It will help if my
editor had syntax highlighting for this XML language. All I need for
that is XSD schema. Unfortunately, references contain only EBNF
notation.
--
anatoly t.
Index: pypi/templates/display.pt
===================================================================
--- pypi/templates/display.pt (revision 925)
(Continue reading)