comparison 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
comparison
equal deleted inserted replaced
51:b2383634ec04 52:1340e3297d19
5 <xi:include href="site.html"><xi:fallback/></xi:include> 5 <xi:include href="site.html"><xi:fallback/></xi:include>
6 6
7 <head py:match="head"> 7 <head py:match="head">
8 <title>${select('title/text()')} – Trac</title> 8 <title>${select('title/text()')} – Trac</title>
9 <div py:for="rel, links in chrome.links.items()" py:strip=""> 9 <div py:for="rel, links in chrome.links.items()" py:strip="">
10 <link rel="${rel}" py:for="link in links" href="${link.href}" 10 <link rel="${rel}" py:for="link in links" py:attrs="link"/>
11 type="${link.type}" class="${link['class']}" title="${link.title}"/>
12 </div> 11 </div>
13 <script py:for="script in chrome.scripts" 12 <script py:for="script in chrome.scripts"
14 type="${script.type}" src="${script.href}"/> 13 type="${script.type}" src="${script.href}"/>
15 </head> 14 </head>
16 15
Copyright (C) 2012-2017 Edgewall Software