source: trunk/templates/header.tt @ 858

Last change on this file since 858 was 858, checked in by Earle Martin, 15 years ago

Add <link rel="alternate"> pointer to RDF versions of editable pages.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 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  [% UNLESS not_editable %]
25    <link rel="alternate" type="application/rdf+xml" title="Page as RDF/XML" href="[% full_cgi_url %]?id=[% node_param %];format=rdf" />
26  [% END %]
27  [% IF latitude AND longitude %]
28    <meta name="ICBM" content="[% latitude %], [% longitude %]" />
29    <meta name="DC.title" content="[% site_name %]" />
30  [% END %]
31    <link rel="alternate" type="application/rss+xml" title="[% site_name %] - Recent Changes (RSS 1.0)" href="[% full_cgi_url %]?action=rc;format=rss" />
32    <link rel="alternate" type="application/atom+xml" title="[% site_name %] - Recent Changes (Atom)" href="[% full_cgi_url %]?action=rc;format=atom" />
33  [% IF deter_robots %]
34    <meta name="robots" content="noindex,nofollow" />
35  [% END %]
36  [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %]
37    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=[% gmaps_api_key %]" type="text/javascript"></script>
38  [% END %]
39</head>
40<body>
41  [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %]
42    <script defer="defer" type="text/javascript">
43      //<![CDATA[
44        var baseIcon = new GIcon();
45        baseIcon.image = "http://www.google.com/mapfiles/marker.png";
46        baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png";
47        baseIcon.iconSize = new GSize(10, 17);
48        baseIcon.shadowSize = new GSize(20, 17);
49        baseIcon.iconAnchor = new GPoint(5, 17);
50        baseIcon.infoWindowAnchor = new GPoint(9, 2);
51        baseIcon.infoShadowAnchor = new GPoint(9, 12);
52      //]]>
53    </script>
54  [% END %]
Note: See TracBrowser for help on using the repository browser.