source: trunk/templates/site_index.tt @ 815

Last change on this file since 815 was 815, checked in by nick, 15 years ago

Add links to rdf, rss and atom

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
RevLine 
[447]1[% IF criterion %]
2  [% INCLUDE header.tt page_title = "Index of $criterion.name - $site_name" %]
3[% ELSE %]
4  [% INCLUDE header.tt page_title = "Things within $limit of $origin - $site_name" %]
5[% END %]
[288]6[% INCLUDE banner.tt %]
7<div id="content">
8[% INCLUDE navbar.tt %]
[617]9<div id="maincontent">
[288]10<h2>Node List
[77]11  [%- IF criterion -%]
[108]12    [%- IF criterion.url -%]
13      - <a href="[% criterion.url %]">[%- criterion.name -%]</a>
14    [%- ELSE -%]
15      - [%- criterion.name -%]
16    [%- END -%]
[2]17  [%- END -%]
18  [%- IF origin -%]
[88]19    - Things within [%- limit -%] of <a href="[% cgi_url %]?[%- origin_param -%]">[%- origin -%]</a>
[2]20  [%- END -%]
[288]21</h2>
[574]22<ol>
[2]23  [% FOREACH node = nodes %]
[88]24     <li><a href="[% cgi_url %]?[% node.param %]">[% node.name %]</a>
[2]25         [% IF node.distance %]([% node.distance %] metres away)[% END %]
26     </li>
27  [% END %]
[574]28</ol>
[617]29</div>
[815]30
31<p>
32  This list is available as
33  <a href="[% cgi_url %]?action=index;index_type=[% type %];index_value=[% value %];format=rdf">rdf</a>,
34  or as a
35  <a href="[% cgi_url %]?action=index;index_type=[% type %];index_value=[% value %];format=rss">rss feed</a>,
36  or as an
37  <a href="[% cgi_url %]?action=index;index_type=[% type %];index_value=[% value %];format=atom">atom feed</a>.
38</p>
39
[2]40[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.