Mercurial > genshi > mirror
diff examples/trac/templates/layout.html @ 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 | e03b77726756 |
children | 6474226bb8b6 |
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}"/>