Mercurial > genshi > mirror
comparison examples/bench/kid/template.kid @ 57:300b6a3b0730 trunk
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
author | cmlenz |
---|---|
date | Tue, 04 Jul 2006 18:19:22 +0000 |
parents | |
children | c40a5dcd2b55 |
comparison
equal
deleted
inserted
replaced
56:6474226bb8b6 | 57:300b6a3b0730 |
---|---|
1 <!DOCTYPE html | |
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
4 <html xmlns="http://www.w3.org/1999/xhtml" | |
5 xmlns:py="http://purl.org/kid/ns#" | |
6 py:extends="'base.kid'" | |
7 lang="en"> | |
8 <head> | |
9 <title>${title}</title> | |
10 </head> | |
11 <body> | |
12 ${header()} | |
13 | |
14 <h2>Loop</h2> | |
15 <ul py:if="items"> | |
16 <li py:for="item in items">${item}</li> | |
17 </ul> | |
18 | |
19 ${footer()} | |
20 </body> | |
21 </html> |