2 |
|
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" |
4 |
lang="en-US" |
lang="en-US" |
5 |
metal:use-macro="here/main_template/macros/master" |
metal:use-macro="context/main_template/macros/master" |
6 |
i18n:domain="plone"> |
i18n:domain="plone"> |
7 |
|
|
8 |
<metal:block fill-slot="base" |
<metal:block fill-slot="base" |
9 |
tal:define="default_view python:test(here.getId()=='index_html',1,0);"> |
tal:define="default_view python:test(context.getId()=='index_html',1,0);"> |
10 |
<base href="#" |
<base href="#" |
11 |
tal:condition="default_view" |
tal:condition="default_view" |
12 |
tal:attributes="href python:here.portal_url()+'/'+'/'.join( here.portal_url.getRelativeContentPath(here))" /> |
tal:attributes="href python:context.portal_url()+'/'+'/'.join( context.portal_url.getRelativeContentPath(context))" /> |
13 |
</metal:block> |
</metal:block> |
14 |
|
|
15 |
<body> |
<body> |
16 |
<div metal:fill-slot="main"> |
<div metal:fill-slot="main"> |
17 |
|
|
18 |
<h1 tal:content="here/title_or_id"> |
<h1 tal:content="context/title_or_id"> |
19 |
Title or id |
Title or id |
20 |
</h1> |
</h1> |
21 |
|
|