| 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 profile="http://a9.com/-/spec/opensearch/1.1/"> |
|---|
| 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 (categories.size AND categories.size > 0) |
|---|
| 22 | OR (locales.size AND locales.size > 0) %] |
|---|
| 23 | <meta name="keywords" content="[% IF categories.size AND |
|---|
| 24 | categories.size > 0 %][% FOREACH category = categories %][% |
|---|
| 25 | category.name %][%- ", " %][% END %][% END %][% IF locales.size AND |
|---|
| 26 | locales.size > 0 %][% FOREACH locale = locales %][% locale.name %][%- |
|---|
| 27 | ", " UNLESS loop.last %][% END %][% END %]" /> |
|---|
| 28 | [% END %] |
|---|
| 29 | [% IF stylesheet %] |
|---|
| 30 | <link rel="stylesheet" href="[% stylesheet %]" type="text/css" title="Stylesheet for [% site_name %]" /> |
|---|
| 31 | [% END %] |
|---|
| 32 | [% IF feed_base %] |
|---|
| 33 | <link rel="alternate" type="application/rss+xml" title="Page as RSS" href="[% feed_base %];format=rss" /> |
|---|
| 34 | <link rel="alternate" type="application/atom+xml" title="Page as Atom" href="[% feed_base %];format=atom" /> |
|---|
| 35 | [% END %] |
|---|
| 36 | [% IF wgs84_lat AND wgs84_long %] |
|---|
| 37 | <meta name="ICBM" content="[% wgs84_lat %], [% wgs84_long %]" /> |
|---|
| 38 | <meta name="geo.position" content="[% wgs84_lat %], [% wgs84_long %]" /> |
|---|
| 39 | [% END %] |
|---|
| 40 | <link rel="alternate" |
|---|
| 41 | type="application/rss+xml" |
|---|
| 42 | title="[% site_name %] - Recent Changes (RSS 1.0)" |
|---|
| 43 | href="[% full_cgi_url %]?action=rc;format=rss" /> |
|---|
| 44 | <link rel="alternate" |
|---|
| 45 | type="application/atom+xml" |
|---|
| 46 | title="[% site_name %] - Recent Changes (Atom)" |
|---|
| 47 | href="[% full_cgi_url %]?action=rc;format=atom" /> |
|---|
| 48 | <link rel="search" |
|---|
| 49 | type="application/opensearchdescription+xml" |
|---|
| 50 | title="Search the site '[% site_name %]'" |
|---|
| 51 | href="[% full_cgi_url %]?action=about;format=opensearch" /> |
|---|
| 52 | [% IF licence_url %] |
|---|
| 53 | <link rel="copyright" href="[% licence_url %]" /> |
|---|
| 54 | [% END %] |
|---|
| 55 | [% IF deter_robots %] |
|---|
| 56 | <meta name="robots" content="noindex,nofollow" /> |
|---|
| 57 | [% END %] |
|---|
| 58 | [% UNLESS not_editable %] |
|---|
| 59 | <link rel="alternate" type="application/wiki" title="Edit this page!" |
|---|
| 60 | href="[% source_site or full_cgi_url %]?id=[% node_param %];action=edit"> |
|---|
| 61 | [% END %] |
|---|
| 62 | [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %] |
|---|
| 63 | <script src="http://maps.google.com/maps?file=api&v=2&key=[% gmaps_api_key %]" type="text/javascript"></script> |
|---|
| 64 | [% END %] |
|---|
| 65 | |
|---|
| 66 | [% TRY %] |
|---|
| 67 | [% INCLUDE custom_header.tt %] |
|---|
| 68 | [% CATCH %] |
|---|
| 69 | [% END %] |
|---|
| 70 | |
|---|
| 71 | </head> |
|---|
| 72 | <body> |
|---|
| 73 | <div id="body_wrapper"> |
|---|
| 74 | [% IF enable_gmaps AND display_google_maps AND gmaps_api_key %] |
|---|
| 75 | <script defer="defer" type="text/javascript"> |
|---|
| 76 | //<![CDATA[ |
|---|
| 77 | var baseIcon = new GIcon(); |
|---|
| 78 | baseIcon.image = "http://www.google.com/mapfiles/marker.png"; |
|---|
| 79 | baseIcon.shadow = "http://www.google.com/mapfiles/shadow50.png"; |
|---|
| 80 | baseIcon.iconSize = new GSize(10, 17); |
|---|
| 81 | baseIcon.shadowSize = new GSize(20, 17); |
|---|
| 82 | baseIcon.iconAnchor = new GPoint(5, 17); |
|---|
| 83 | baseIcon.infoWindowAnchor = new GPoint(9, 2); |
|---|
| 84 | baseIcon.infoShadowAnchor = new GPoint(9, 12); |
|---|
| 85 | //]]> |
|---|
| 86 | </script> |
|---|
| 87 | [% END %] |
|---|