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
RevLine 
[557]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
[339]3<html lang="[% language %]">
[2]4<head>
[557]5  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
[393]6  [% IF page_title %]
7    <title>[% page_title %]</title>
[221]8  [% ELSE %]
[421]9    <title>[% node_name %] - [% site_name %]</title>
[221]10  [% END %]
[2]11  [% IF contact_email %]
[557]12    <link rev="made" href="mailto:[% contact_email %]" />
[2]13  [% END %]
[756]14  [% IF summary %]
15    <meta name="description" content="[% summary %]" />
[2]16  [% END %]
17  [% IF stylesheet %]
[557]18    <link rel="stylesheet" href="[% stylesheet %]" type="text/css" title="Stylesheet for [% site_name %]" />
[2]19  [% END %]
[819]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 %]
[858]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 %]
[2]27  [% IF latitude AND longitude %]
[557]28    <meta name="ICBM" content="[% latitude %], [% longitude %]" />
29    <meta name="DC.title" content="[% site_name %]" />
[2]30  [% END %]
[701]31    <link rel="alternate" type="application/rss+xml" title="[% site_name %] - Recent Changes (RSS 1.0)" href="[% full_cgi_url %]?action=rc;format=rss" />
[819]32    <link rel="alternate" type="application/atom+xml" title="[% site_name %] - Recent Changes (Atom)" href="[% full_cgi_url %]?action=rc;format=atom" />
[495]33  [% IF deter_robots %]
[573]34    <meta name="robots" content="noindex,nofollow" />
[495]35  [% END %]
[730]36  [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %]
[771]37    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=[% gmaps_api_key %]" type="text/javascript"></script>
[730]38  [% END %]
[2]39</head>
40<body>
[730]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.