source: trunk/templates/header.tt @ 873

Last change on this file since 873 was 873, checked in by nick, 15 years ago

Do the dc.title correctly, include dc.publisher, and also output the new style geo.position (in addition to ICBM)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3<html lang="[% language %]">
4<head>
5  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6  [% IF page_title %]
7    <title>[% page_title %]</title>
8    <meta name="DC.title" content="[% page_title %]" />
9  [% ELSE %]
10    <title>[% node_name %] - [% site_name %]</title>
11    <meta name="DC.title" content="[% node_name %] - [% site_name %]" />
12  [% END %]
13    <meta name="DC.publisher" content="[% site_name %]" />
14
15  [% IF contact_email %]
16    <link rev="made" href="mailto:[% contact_email %]" />
17  [% END %]
18  [% IF summary %]
19    <meta name="description" content="[% summary %]" />
20  [% END %]
21  [% IF stylesheet %]
22    <link rel="stylesheet" href="[% stylesheet %]" type="text/css" title="Stylesheet for [% site_name %]" />
23  [% END %]
24  [% IF feed_base %]
25    <link rel="alternate" type="application/rss+xml" title="Page as RSS" href="[% feed_base %];format=rss" />
26    <link rel="alternate" type="application/atom+xml" title="Page as Atom" href="[% feed_base %];format=atom" />
27  [% END %]
28  [% IF latitude AND longitude %]
29    <meta name="ICBM" content="[% latitude %], [% longitude %]" />
30    <meta name="geo.position" content="[% latitude %], [% longitude %]" />
31  [% END %]
32    <link rel="alternate" type="application/rss+xml" title="[% site_name %] - Recent Changes (RSS 1.0)" href="[% full_cgi_url %]?action=rc;format=rss" />
33    <link rel="alternate" type="application/atom+xml" title="[% site_name %] - Recent Changes (Atom)" href="[% full_cgi_url %]?action=rc;format=atom" />
34  [% IF deter_robots %]
35    <meta name="robots" content="noindex,nofollow" />
36  [% END %]
37  [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %]
38    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=[% gmaps_api_key %]" type="text/javascript"></script>
39  [% END %]
40</head>
41<body>
42  [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %]
43    <script defer="defer" type="text/javascript">
44      //<![CDATA[
45        var baseIcon = new GIcon();
46        baseIcon.image = "http://www.google.com/mapfiles/marker.png";
47        baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
48        baseIcon.iconSize = new GSize(10, 17);
49        baseIcon.shadowSize = new GSize(20, 17);
50        baseIcon.iconAnchor = new GPoint(5, 17);
51        baseIcon.infoWindowAnchor = new GPoint(9, 2);
52        baseIcon.infoShadowAnchor = new GPoint(9, 12);
53      //]]>
54    </script>
55  [% END %]
Note: See TracBrowser for help on using the repository browser.