Ignore:
Timestamp:
Jul 6, 2006, 6:16:53 PM (16 years ago)
Author:
nick
Message:

Include atom rc link, and optionally atom+rss links for the current page (if requested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/header.tt

    r771 r819  
    1818    <link rel="stylesheet" href="[% stylesheet %]" type="text/css" title="Stylesheet for [% site_name %]" />
    1919  [% 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 %]
    2024  [% IF latitude AND longitude %]
    2125    <meta name="ICBM" content="[% latitude %], [% longitude %]" />
     
    2327  [% END %]
    2428    <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" />
    2530  [% IF deter_robots %]
    2631    <meta name="robots" content="noindex,nofollow" />
Note: See TracChangeset for help on using the changeset viewer.