comparison examples/basic/test.html @ 347:ffa7dea6e8fd experimental-inline

cspeedups branch: Merged [423:426/trunk].
author cmlenz
date Fri, 10 Nov 2006 17:38:50 +0000
parents 84168828b074
children
comparison
equal deleted inserted replaced
344:bb881d1b4b5c 347:ffa7dea6e8fd
8 <xi:include href="layout.html" /> 8 <xi:include href="layout.html" />
9 <xi:include href="custom_stuff.html"><xi:fallback/></xi:include> 9 <xi:include href="custom_stuff.html"><xi:fallback/></xi:include>
10 <body class="$bozz"> 10 <body class="$bozz">
11 <ul py:attrs="{'id': 'second', 'class': None}" py:if="len(items) > 0"> 11 <ul py:attrs="{'id': 'second', 'class': None}" py:if="len(items) > 0">
12 <li py:for="item in items">Item $prefix${item.split()[-1]}</li> 12 <li py:for="item in items">Item $prefix${item.split()[-1]}</li>
13 XYZ ${hey}
14 </ul> 13 </ul>
15 ${macro1()} ${macro1()} ${macro1()} 14 ${macro1()} ${macro1()} ${macro1()}
16 ${macro2('john')} 15 ${macro2('john')}
17 ${macro2('kate', classname='collapsed')} 16 ${macro2('kate', classname='collapsed')}
18 <div py:content="macro2('helmut')" py:strip="">Replace me</div> 17 <div py:content="macro2('helmut')" py:strip="">Replace me</div>
Copyright (C) 2012-2017 Edgewall Software