Finish the slightly ad hoc move of git_html_header() to the template.
[catagits/Gitalist.git] / Gitalist / templates / default.tt2
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>
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">
30 [% logo %]
31 [% home_link %] / [% IF project;
32   summary;
33   IF action;  " / " _ action; END;
34 END %]
35 </div>
36
37 [% IF project AND have_search %]
38 <div class="search">
39   [% search_form %]
40 </div>
41 [% END %]
42
43 [% content %]
44
45 </body>
46 </html>