source: trunk/templates/site_index.tt @ 574

Last change on this file since 574 was 574, checked in by Earle Martin, 17 years ago

Make unordered list ordered for convenient counting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 853 bytes
Line 
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 %]
6[% INCLUDE banner.tt %]
7<div id="content">
8[% INCLUDE navbar.tt %]
9<h2>Node List
10  [%- IF criterion -%]
11    [%- IF criterion.url -%]
12      - <a href="[% criterion.url %]">[%- criterion.name -%]</a>
13    [%- ELSE -%]
14      - [%- criterion.name -%]
15    [%- END -%]
16  [%- END -%]
17  [%- IF origin -%]
18    - Things within [%- limit -%] of <a href="[% cgi_url %]?[%- origin_param -%]">[%- origin -%]</a>
19  [%- END -%]
20</h2>
21<ol>
22  [% FOREACH node = nodes %]
23     <li><a href="[% cgi_url %]?[% node.param %]">[% node.name %]</a>
24         [% IF node.distance %]([% node.distance %] metres away)[% END %]
25     </li>
26  [% END %]
27</ol>
28[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.