| 172 |
ashish |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
|
4 |
xmlns:py="http://genshi.edgewall.org/"
|
|
|
5 |
xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
6 |
|
|
|
7 |
<xi:include href="master.html" />
|
|
|
8 |
|
|
|
9 |
<head>
|
|
|
10 |
<meta content="text/html; charset=UTF-8" http-equiv="content-type"
|
|
|
11 |
py:replace="''" />
|
|
|
12 |
<title>Sample Template, for looking at template locals</title>
|
|
|
13 |
</head>
|
|
|
14 |
|
|
|
15 |
<body>
|
|
|
16 |
<h1>All objects from locals():</h1>
|
|
|
17 |
|
|
|
18 |
<div py:for="item in sorted(locals()['data'].keys())">${item}:
|
|
|
19 |
${repr(locals()['data'][item])}</div>
|
|
|
20 |
</body>
|
|
|
21 |
</html>
|