source: trunk/templates/home_node.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: 1.3 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2[% USE CGI %]
3<html>
4<head>
5  <title>[% node_name %] - [% site_name %]</title>
6  [% IF contact_email %]
7    <link rev=made href="mailto:[% contact_email %]">
8  [% END %]
9  [% IF description %]
10    <meta name="description" content="[% description %]">
11  [% END %]
12  [% IF keywords %]
13    <meta name="keywords" content="[% keywords %]">
14  [% END %]
15  [% IF stylesheet %]
16    <link rel="stylesheet" href="[% stylesheet %]" type="text/css">
17  [% END %]
18</head>
19<body>
20
21[% INCLUDE banner.tt %]
22
23<div id="content">
24
25[% IF navbar_on_home_page %]
26  [% INCLUDE navbar.tt %]
27[% END %]
28
29<div id="maincontent">
30<div id="recent">
31
32<h3>Ten most <a href="[% cgi_url %]?RecentChanges">recent changes</a>
33    (<a href="[% full_cgi_url %]?action=rss">RSS</a>):</h3>
34
35<dl>
36  [% FOREACH node = recent_changes %]
37  <dt><a href="[% node.url %]">[% node.name %]</a>
38  [% IF node.version == "1" %]
39    [new]
40  [% END %]
41  </dt>
42  [% IF node.comment or node.username %]
43    <dd>
44      [% node.comment %]
45      [% IF node.username %]
46        <b><small>([% node.username %])</small></b>
47      [% END %]
48    </dd>
49  [% END %]
50[% END %]
51</dl>
52
53<p><b><a href="[% cgi_url %]?action=edit;id=[% node_param %]">Edit this page</a></b></p>
54
55</div>
56[% content %]
57
58</div>
59[% INCLUDE footer.tt %]
Note: See TracBrowser for help on using the repository browser.