Mercurial > genshi > mirror
annotate examples/turbogears/genshitest/templates/sitetemplate.html @ 709:9dd5f370a70e trunk
Python 2.3 compatibility fixes for transformer and (specifically for 2.3.1) i18n.
author | athomas |
---|---|
date | Sun, 06 Apr 2008 20:52:15 +0000 |
parents | cf4a125b44a1 |
children |
rev | line source |
---|---|
110
64ff134868c4
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"> |
64ff134868c4
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
64ff134868c4
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" |
64ff134868c4
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
5 py:strip=""> |
64ff134868c4
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('@*')"> |
64ff134868c4
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="''"/> |
64ff134868c4
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> |
64ff134868c4
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())" /> |
64ff134868c4
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
cf4a125b44a1
the TG <body> match templates should also select text nodes to output
mgood
parents:
230
diff
changeset
|
11 <meta py:replace="select('*')" /> |
110
64ff134868c4
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
12 </head> |
64ff134868c4
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('@*')"> |
64ff134868c4
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
cf4a125b44a1
the TG <body> match templates should also select text nodes to output
mgood
parents:
230
diff
changeset
|
15 <div py:replace="select('*|text()')" /> |
110
64ff134868c4
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())" /> |
64ff134868c4
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
17 </body> |
64ff134868c4
update the example TurboGears app and include an example of using TurboGears wigets
mgood
parents:
diff
changeset
|
18 </html> |