annotate examples/includes/skins/default/layout.html @ 21:b4d17897d053 trunk

* Include paths are now interpreted relative to the path of the including template. Closes #3. * The filename is now included as first item in the `pos` tuple of stream events. * Simplified the "basic" example so that it actually ''is'' basic. * Added a more complex example using nested relative includes in [source:/trunk/examples/includes/ examples/includes].
author cmlenz
date Tue, 20 Jun 2006 13:05:37 +0000
parents
children ee669cb9cccc
rev   line source
21
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
1 <html xmlns="http://www.w3.org/1999/xhtml"
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
2 xmlns:py="http://purl.org/kid/ns#"
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
3 xmlns:xi="http://www.w3.org/2001/XInclude"
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
4 py:strip="">
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
5 <xi:include href="../macros.html" />
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
6 <head>
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
7 <title>Hello ${hello}</title>
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
8 <style type="text/css">@import(style.css)</style>
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
9 </head>
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
10 <body py:match="body">
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
11 <xi:include href="header.html" />
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
12 <div id="content">
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
13 ${select('body/*')}
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
14 </div>
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
15 <xi:include href="footer.html" />
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
16 </body>
b4d17897d053 * Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff changeset
17 </html>
Copyright (C) 2012-2017 Edgewall Software