Untangled the header and footer from every action.
[catagits/Gitalist.git] / Gitalist / templates / default.tt2
CommitLineData
d3feefcf 1<?xml version="1.0" encoding="utf-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
4<!-- git web interface version [% version %], (C) 2005-2006, Kay Sievers <kay.sievers\@vrfy.org>, Christian Gierke -->
5<!-- git core binaries version [% git_version %] -->
6<head>
24701964 7 <meta http-equiv="content-type" content="[% content_type %]; charset=utf-8"/>
8 <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]"/>
9 <meta name="robots" content="index, nofollow"/>
10 <title>[% title %] (Gitalist)</title>
11 [% baseurl %]
12 [% stylesheets.join("\n") %]
13 [% IF project;
14 rss_link;
15 rss_link_no_merges;
16 atom_link;
17 atom_link_no_merges;
18 ELSE;
19 projects_list;
20 projects_feed;
21 END %]
22 [% favicon %]
23</head>
24
25<body>
26
27[% site_header %]
28
29<div class="page_header">
194fa4ff 30 [% logo %]
31 [% home_link %] / [%
32 IF project;
33 summary;
34 IF action; " / " _ action; END;
35 END %]
24701964 36</div>
d3feefcf 37
a57db1f0 38[% IF project AND have_search %]
39<div class="search">
40 [% search_form %]
41</div>
42[% END %]
43
194fa4ff 44[%
45# The output of gitweb.cgi is injected at this point.
46content %]
d3feefcf 47
69421cb7 48<div class="page_footer">
49[%
50IF project;
51 IF project_description
52%]
53 <div class="page_footer_text">[% project_description %]</div>
54[%
55 END;
56 rss_feed;
57 atom_feed;
58ELSE;
59 opml_feed _ " " _ index_feed;
60END %]
61</div>
62
63[% site_footer %]
64
d3feefcf 65</body>
66</html>