source: products/qSEOptimizer/branches/0.3.3-SE/skins/qSEOptimizer/2.1.1/header.pt @ 1

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

Building directory structure

File size: 4.0 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
10    <title tal:define="portal_title portal_properties/title;
11                       page_title object_title;
12                       override python:here.hasProperty('qSEO_title')">
13        <tal:seo condition="override" content="here/qSEO_Title"/>
14        <tal:default condition="not:override">
15            <tal:pagetitle replace="page_title">
16                Inserts page title
17            </tal:pagetitle>
18            &mdash;
19            <tal:portaltitle replace="portal_title">
20             Inserts portal title
21            </tal:portaltitle>
22        </tal:default>
23    </title>
24
25    <meta tal:define="metatags here/listMetaTags"
26          tal:condition="metatags"
27          tal:repeat="keyval metatags"
28          tal:attributes="name python:keyval[0];
29                          content python:keyval[1];" />
30
31    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
32          tal:define="charset site_properties/default_charset|string:utf-8"
33          tal:attributes="content string:text/html;;charset=${charset}" />
34
35`  <tal:html_comment define="comment here/qSEO_HTML_Comment|nothing" condition="comment">
36      <tal:html_comment_start replace="structure string:&lt;!--" />
37        <tal:comment replace="comment" />
38      <tal:html_comment_end replace="structure string:--&gt;" />
39    </tal:html_comment>
40
41    <metal:baseslot define-slot="base" />
42
43    <meta name="generator" content="Plone - http://plone.org" />
44
45    <metal:js metal:use-macro="here/renderAllTheScripts/macros/jsrenderer">SSS
46    </metal:js>
47
48    <metal:css metal:use-macro="here/renderAllTheStylesheets/macros/cssrenderer">SSS
49    </metal:css>
50
51    <tal:iefixstart replace="structure string:&lt;!--[if lt IE 7]&gt;" />
52        <style type="text/css" media="all" tal:condition="exists: portal/IEFixes.css"
53               tal:content="string:@import url($portal_url/IEFixes.css);">
54        </style>
55    <tal:iefixend replace="structure string:&lt;![endif]--&gt;" />
56
57    <link rel="shortcut icon" type="image/x-icon" tal:attributes="href string:$portal_url/favicon.ico" />
58
59    <link rel="home" href="" title="Front page" tal:attributes="href string:$portal_url" />
60    <link rel="search" title="Search this site" tal:attributes="href string:$portal_url/search_form" />
61    <link rel="author" title="Author information" tal:attributes="href string:${portal_url}/author/${here/Creator}" />
62    <link rel="contents" href="" title="Site Map" tal:attributes="href string:$portal_url/sitemap" />
63
64    <tal:fixme tal:replace="nothing">
65      <link rel="help" href="" title="Help" tal:attributes="href string:$portal_url/help" />
66      <link rel="copyright" href="" title="Copyright information" tal:attributes="href string:copyright" />
67    </tal:fixme>
68
69    <link rel="alternate" href="" title="RSS 1.0" type="application/rss+xml" 
70          tal:condition="python: syntool.isSyndicationAllowed(here)"
71          tal:attributes="href string:$here_url/RSS" />
72
73    <link rel="up" href="" title="Up one level"
74          tal:define="parent python:here.navigationParent(here, template_id)"
75          tal:condition="parent"
76          tal:attributes="href parent" />
77
78    <metal:block metal:define-slot="rel_slot" tal:replace="nothing">
79      Inserts rel links specified from a page.
80    </metal:block>
81
82    <meta http-equiv="imagetoolbar" content="no" />
83
84    <metal:block metal:define-slot="css_slot" tal:replace="nothing">
85      Inserts CSS specified from a page.
86    </metal:block>
87
88    <metal:block metal:define-slot="head_slot" tal:replace="nothing">
89      Flexibility for published templates to inject stuff into the head tag.
90    </metal:block>
91
92    <metal:block metal:define-slot="javascript_head_slot" tal:replace="nothing">
93      Inserts javascript specified from a page.
94    </metal:block>
95
96  </head>
97
98  <body>
99  </body>
100
101</html>
Note: See TracBrowser for help on using the repository browser.