Bugfix.
[Plinn.git] / skins / generic / index_html.pt
1 <html metal:use-macro="here/main_template/macros/master" >
2 <head>
3 <meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
4 </head>
5 <body style="position: relative">
6
7 <div metal:fill-slot="header"
8 tal:define="global has_local python: 'local_pt' in here.objectIds();
9 global util_macros here/index_html_utils/macros;
10 " >
11
12 <div tal:condition="not: has_local">
13 <div metal:use-macro="util_macros/index_header">here title</div>
14 </div>
15
16 <div tal:condition="has_local">
17
18 <div metal:use-macro="here/local_pt/macros/header | default">
19 'local_pt' header goes here.
20 </div>
21
22 </div>
23
24 </div><!-- header slot -->
25
26 <div metal:fill-slot="main">
27
28 <div id="content_well"
29 >
30
31 <div tal:condition="not: has_local"><!-- style="float: left; top: 0; width: 80%;" -->
32
33 <br />
34
35 <div metal:use-macro="util_macros/index_content" />
36
37 <div metal:use-macro="util_macros/index_links" />
38
39 <div metal:use-macro="util_macros/index_folders" />
40
41 </div>
42
43 <div tal:condition="has_local">
44
45 <div metal:use-macro="here/local_pt/macros/body | default">
46 'local_pt' body goes here.
47 </div>
48
49 </div>
50
51 </div>
52
53 <!-- <div id="right_sidebar"
54 style="width: 20%">
55
56 <div metal:use-macro="util_macros/news_box" />
57
58 </div> -->
59
60 </div>
61
62 </body>
63 </html>