diff examples/basic/test.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 examples/basic/module/test.html@518a8520a6e1
children 448792ab1303
line wrap: on
line diff
copy from examples/basic/module/test.html
copy to examples/basic/test.html
--- a/examples/basic/module/test.html
+++ b/examples/basic/test.html
@@ -3,9 +3,9 @@
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://purl.org/kid/ns#"
-      xmlns:xi="http://www.w3.org/2001/XInclude">
- <xi:include href="${skin}_header.html" />
- <xi:include href="macros.html" />
+      xmlns:xi="http://www.w3.org/2001/XInclude"
+      lang="en">
+ <xi:include href="layout.html" />
  <xi:include href="custom_stuff.html"><xi:fallback/></xi:include>
  <body class="$bozz">
   <ul py:attrs="{'id': 'second', 'class': None}" py:if="len(items) > 0">
Copyright (C) 2012-2017 Edgewall Software