|
Last change
on this file was
299,
checked in by cmlenz, 17 years ago
|
|
Fixed EOL style.
|
-
Property svn:eol-style set to
native
|
|
File size:
667 bytes
|
| Line | |
|---|
| 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://genshi.edgewall.org/" |
|---|
| 6 | xmlns:xi="http://www.w3.org/2001/XInclude" |
|---|
| 7 | lang="en"> |
|---|
| 8 | <xi:include href="base.html" /> |
|---|
| 9 | <head> |
|---|
| 10 | <title>${title}</title> |
|---|
| 11 | </head> |
|---|
| 12 | <body> |
|---|
| 13 | <div>${greeting(user)}</div> |
|---|
| 14 | <div>${greeting('me')}</div> |
|---|
| 15 | <div>${greeting('world')}</div> |
|---|
| 16 | |
|---|
| 17 | <h2>Loop</h2> |
|---|
| 18 | <ul py:if="items"> |
|---|
| 19 | <li py:for="idx, item in enumerate(items)" py:content="item" |
|---|
| 20 | class="${idx + 1 == len(items) and 'last' or None}" /> |
|---|
| 21 | </ul> |
|---|
| 22 | |
|---|
| 23 | </body> |
|---|
| 24 | </html> |
|---|
Note: See
TracBrowser
for help on using the repository browser.