source: sites/oxford.openguides.org/templates/header.tt @ 1074

Last change on this file since 1074 was 1074, checked in by Dominic Hargreaves, 14 years ago

Add oxford's custom templates

File size: 2.3 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  [% ELSE %]
9    <title>[% node_name %] - [% site_name %]</title>
10  [% END %]
11  [% IF contact_email %]
12    <link rev="made" href="mailto:[% contact_email %]" />
13  [% END %]
14  [% IF summary %]
15    <meta name="description" content="[% summary %]" />
16  [% END %]
17  [% IF stylesheet %]
18    <link rel="stylesheet" href="[% stylesheet %]" type="text/css" title="Stylesheet for [% site_name %]" />
19  [% END %]
20  [% IF feed_base %]
21    <link rel="alternate" type="application/rss+xml" title="Page as RSS" href="[% feed_base %];format=rss" />
22    <link rel="alternate" type="application/atom+xml" title="Page as Atom" href="[% feed_base %];format=atom" />
23  [% END %]
24  [% IF latitude AND longitude %]
25    <meta name="ICBM" content="[% latitude %], [% longitude %]" />
26    <meta name="DC.title" content="[% site_name %]" />
27  [% END %]
28    <link rel="alternate" type="application/rss+xml" title="[% site_name %] - Recent Changes (RSS 1.0)" href="[% full_cgi_url %]?action=rc;format=rss" />
29    <link rel="alternate" type="application/atom+xml" title="[% site_name %] - Recent Changes (Atom)" href="[% full_cgi_url %]?action=rc;format=atom" />
30  [% IF deter_robots %]
31    <meta name="robots" content="noindex,nofollow" />
32  [% END %]
33  [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %]
34    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=[% gmaps_api_key %]" type="text/javascript"></script>
35    <script src="http://media.mapnik.org/js/mapnik.js" type="text/javascript"></script>
36  [% END %]
37</head>
38<body>
39  [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %]
40    <script defer="defer" type="text/javascript">
41      //<![CDATA[
42        var baseIcon = new GIcon();
43        baseIcon.image = "http://www.google.com/mapfiles/marker.png";
44        baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
45        baseIcon.iconSize = new GSize(10, 17);
46        baseIcon.shadowSize = new GSize(20, 17);
47        baseIcon.iconAnchor = new GPoint(5, 17);
48        baseIcon.infoWindowAnchor = new GPoint(9, 2);
49        baseIcon.infoShadowAnchor = new GPoint(9, 12);
50      //]]>
51    </script>
52  [% END %]
Note: See TracBrowser for help on using the repository browser.