Mercurial > genshi > genshi-test
changeset 52:584dff20e91f
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 | a572b1018b66 |
children | 60f1a556690e |
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}"/>