source: trunk/templates/site_index.tt @ 644

Last change on this file since 644 was 617, checked in by Dominic Hargreaves, 17 years ago

New css id maincontent, and misc template bugfixes

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