Mercurial > genshi > mirror
changeset 52:1340e3297d19 trunk
Trac port: Make use of the fact that combining `py:for` with `py:attrs` now works correctly.
author | cmlenz |
---|---|
date | Tue, 04 Jul 2006 09:04:50 +0000 |
parents | b2383634ec04 |
children | 512eb72dbb19 |
files | examples/trac/templates/layout.html |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/trac/templates/layout.html +++ b/examples/trac/templates/layout.html @@ -7,8 +7,7 @@ <head py:match="head"> <title>${select('title/text()')} – Trac</title> <div py:for="rel, links in chrome.links.items()" py:strip=""> - <link rel="${rel}" py:for="link in links" href="${link.href}" - type="${link.type}" class="${link['class']}" title="${link.title}"/> + <link rel="${rel}" py:for="link in links" py:attrs="link"/> </div> <script py:for="script in chrome.scripts" type="${script.type}" src="${script.href}"/>