Mercurial > genshi > genshi-test
annotate examples/includes/module/test.html @ 424:d698a5556a55
Set the `__version__` property in `genshi.__init__`; only works with a setuptools install, though. Addresses #103.
author | cmlenz |
---|---|
date | Tue, 20 Mar 2007 18:52:00 +0000 |
parents | 24757b771651 |
children |
rev | line source |
---|---|
21
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
1 <!DOCTYPE html |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
4 <html xmlns="http://www.w3.org/1999/xhtml" |
230 | 5 xmlns:py="http://genshi.edgewall.org/" |
21
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
6 xmlns:xi="http://www.w3.org/2001/XInclude"> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
7 <xi:include href="${skin}/layout.html" /> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
8 <xi:include href="custom_stuff.html"><xi:fallback/></xi:include> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
9 <body class="$bozz"> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
10 <ul py:attrs="{'id': 'second', 'class': None}" py:if="len(items) > 0"> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
11 <li py:for="item in items">Item ${item.split()[-1]}</li> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
12 XYZ ${hey} |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
13 </ul> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
14 ${macro1()} ${macro1()} ${macro1()} |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
15 ${macro2('john')} |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
16 ${macro2('kate', classname='collapsed')} |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
17 <div py:content="macro2('helmut')" py:strip="">Replace me</div> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
18 <greeting name="Dude" /> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
19 <greeting name="King" /> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
20 <span class="greeting">Hello Silicon</span> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
21 </body> |
eca77129518a
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
22 </html> |