Mercurial > genshi > genshi-test
annotate examples/turbogears/genshitest/templates/sitetemplate.html @ 247:b8932429dbd0
the TG <body> match templates should also select text nodes to output
author | mgood |
---|---|
date | Thu, 14 Sep 2006 17:32:55 +0000 |
parents | 24757b771651 |
children |
rev | line source |
---|---|
110
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
2 <html xmlns="http://www.w3.org/1999/xhtml" |
230 | 3 xmlns:py="http://genshi.edgewall.org/" |
110
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
4 xmlns:xi="http://www.w3.org/2001/XInclude" |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
5 py:strip=""> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
6 <head py:match="head" py:attrs="select('@*')"> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
7 <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
8 <title py:replace="''">Your title goes here</title> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
9 <link py:for="css in tg_css" py:replace="ET(css.display())" /> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
10 <link py:for="js in tg_js_head" py:replace="ET(js.display())" /> |
247
b8932429dbd0
the TG <body> match templates should also select text nodes to output
mgood
parents:
230
diff
changeset
|
11 <meta py:replace="select('*')" /> |
110
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
12 </head> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
13 <body py:match="body" py:attrs="select('@*')"> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
14 <div py:for="js in tg_js_bodytop" py:replace="ET(js.display())" /> |
247
b8932429dbd0
the TG <body> match templates should also select text nodes to output
mgood
parents:
230
diff
changeset
|
15 <div py:replace="select('*|text()')" /> |
110
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
16 <div py:for="js in tg_js_bodybottom" py:replace="ET(js.display())" /> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
17 </body> |
44fbc30d78cd
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
18 </html> |