source: products/qSEOptimizer/tags/0.5.3/skins/qSEOptimizer/2.5.1/header.pt @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 5.5 KB
Line 
1<metal:block use-macro="here/global_defines/macros/defines" />
2<html xmlns="http://www.w3.org/1999/xhtml"
3      xml:lang="en"
4      lang="en"
5      i18n:domain="plone">
6
7  <head metal:define-macro="html_header"
8        tal:define="skinrequest python:request.get(here.portal_skins.getRequestVarname(), '');">
9    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
10          tal:define="charset site_properties/default_charset|string:utf-8"
11          tal:attributes="content string:text/html;;charset=${charset}" />
12
13    <title tal:define="portal_title portal_properties/title;
14                       page_title object_title;
15                       override python:here.hasProperty('qSEO_title')">
16        <tal:seo condition="override" content="here/qSEO_Title"/>
17        <tal:default condition="not:override">
18            <tal:pagetitle replace="page_title">
19                Inserts page title
20            </tal:pagetitle>
21            &mdash;
22            <tal:portaltitle replace="portal_title">
23             Inserts portal title
24            </tal:portaltitle>
25        </tal:default>
26    </title>
27
28    <tal:html_comment define="comment here/qSEO_HTML_Comment|nothing" condition="comment">
29      <tal:html_comment_start replace="structure string:&lt;!--" />
30        <tal:comment replace="comment" />
31      <tal:html_comment_end replace="structure string:--&gt;" />
32    </tal:html_comment>
33
34    <metal:baseslot define-slot="base" />
35
36    <meta name="generator" content="Plone - http://plone.org" />
37
38    <meta tal:define="metatags here/listMetaTags"
39          tal:condition="metatags"
40          tal:repeat="keyval metatags"
41          tal:attributes="name python:keyval[0];
42                          content python:keyval[1];" />
43
44    <metal:js tal:define="scripts nocall:here/renderAllTheScripts|nothing"
45              tal:condition="nocall:scripts">
46      <metal:block metal:use-macro="scripts/macros/jsrenderer">
47      </metal:block>
48    </metal:js>
49
50    <metal:css tal:define="css nocall:here/renderAllTheStylesheets|nothing">
51        <tal:block condition="nocall:css">
52          <metal:block metal:use-macro="css/macros/cssrenderer">
53          </metal:block>
54        </tal:block>
55        <tal:block condition="not:nocall:css">
56        <style type="text/css" media="all" tal:condition="exists:portal/base.css"
57               tal:content="string:@import url($portal_url/base.css);">
58        </style>
59        <style type="text/css" media="all" tal:condition="exists:portal/columns.css"
60               tal:content="string:@import url($portal_url/columns.css);">
61        </style>
62        <style type="text/css" media="all" tal:condition="exists:portal/public.css"
63               tal:content="string:@import url($portal_url/public.css);">
64        </style>
65        <style type="text/css" media="all" tal:condition="exists:portal/portlets.css"
66               tal:content="string:@import url($portal_url/portlets.css);">
67        </style>
68        </tal:block>
69    </metal:css>
70
71    <tal:iefixstart replace="structure string:&lt;!--[if gte IE 7]&gt;" />
72        <style type="text/css" media="all" tal:condition="exists: portal/IEFixes.css"
73               tal:content="string:@import url($portal_url/IEFixes.css);">
74        </style>
75    <tal:iefixend replace="structure string:&lt;![endif]--&gt;" />
76
77    <link rel="shortcut icon" type="image/x-icon" tal:attributes="href string:$portal_url/favicon.ico" />
78
79    <link rel="home"
80          href=""
81          title="Front page"
82          i18n:attributes="title title_frontpage"
83          tal:attributes="href string:$portal_url" />
84    <link rel="search"
85          href=""
86          title="Search this site"
87          i18n:attributes="title title_search_this_site"
88          tal:attributes="href string:$portal_url/search_form" />
89    <link rel="author"
90          href=""
91          title="Author information"
92          i18n:attributes="title title_author_info"
93          tal:attributes="href string:${portal_url}/author/${here/Creator}" />
94    <link rel="contents"
95          href=""
96          title="Site Map"
97          i18n:attributes="title title_sitemap"
98          tal:attributes="href string:$portal_url/sitemap" />
99
100    <tal:fixme tal:replace="nothing">
101      <link rel="help" href="" title="Help" tal:attributes="href string:$portal_url/help" />
102      <link rel="copyright" href="" title="Copyright information" tal:attributes="href string:copyright" />
103    </tal:fixme>
104
105    <link rel="alternate" href="" title="RSS 1.0" type="application/rss+xml"
106          tal:condition="python: syntool.isSyndicationAllowed(here)"
107          tal:attributes="href string:$here_url/RSS" />
108
109    <link rel="up" href="" title="Up one level"
110          tal:define="parent python:here.navigationParent(here, template_id)"
111          tal:condition="parent"
112          tal:attributes="href parent" />
113
114    <metal:block metal:define-slot="rel_slot" tal:replace="nothing">
115      Inserts rel links specified from a page.
116    </metal:block>
117
118    <meta http-equiv="imagetoolbar" content="no" />
119
120    <metal:block metal:define-slot="style_slot" tal:replace="nothing">
121      Inserts CSS specified from a page.
122    </metal:block>
123
124    <metal:block metal:define-slot="css_slot" tal:replace="nothing">
125      This is deprecated, please use style_slot instead.
126    </metal:block>
127
128    <metal:block metal:define-slot="head_slot" tal:replace="nothing">
129      Flexibility for published templates to inject stuff into the head tag.
130    </metal:block>
131
132    <metal:block metal:define-slot="javascript_head_slot" tal:replace="nothing">
133      Inserts javascript specified from a page.
134    </metal:block>
135
136  </head>
137
138  <body>
139  </body>
140
141</html>
Note: See TracBrowser for help on using the repository browser.