Added the blob_plain, blobdiff_plain and commitdiff_plain actions.
[catagits/Gitalist.git] / root / default.tt2
1 [%- IF no_wrapper || template.name.match('\.(css|js|txt)'); content; ELSE; -%]
2 <!DOCTYPE html>
3 <html lang="en">
4 <head>
5   <!-- git web interface version [% version %], (C) 2005-2006, Kay Sievers <kay.sievers\@vrfy.org>, Christian Gierke -->
6   <!-- git core binaries version [% git_version %] -->
7   <meta 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 | html %] (Gitalist)</title>
11   [% IF baseurl %]
12   <base href="[% baseurl %]">
13   [% END %]
14   <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/screen.css') %]" type="text/css" media="screen, projection">
15   <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/print.css') %]" type="text/css" media="print">
16   <!--[if lt IE 8]>
17     <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/ie.css') %]" type="text/css" media="screen, projection">
18   <![endif]-->  
19   <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]">
20  
21   [% FOR link IN links %]
22   <link rel="[% link.rel %]" title="[% link.title %]" href="[% link.href %]" type="[% link.type %]" >
23   [% END %]
24   [% IF favicon %]
25   <link rel="shortcut icon" href="[% favicon %]" type="image/png">
26   [% END %]
27 </head>
28
29 <body>
30
31 [% site_header %]
32
33 <div id="page-header">
34   <a title="[% logo_label | url %]" href="[% logo_url | url %]">
35    <img src="logo.png" alt="git" class="logo">
36   </a>
37   <a href="[% home_link | url %]">[% home_link_str %]</a>
38   [%- IF project %]
39   / <a href="[% c.uri_for('summary') %]">[% project %]</a>
40   [% IF action;  " / " _ action; END;
41   END %]
42 [%
43   IF project;
44     INCLUDE 'nav/search.tt2';
45   END;
46 # / git_header_html
47 %]
48 </div>
49
50 <div id='body'>
51 [%
52   IF action;
53     SET actmpl = action _ ".tt2";
54     INCLUDE $actmpl;
55   ELSE;
56     # The output of gitweb.cgi is injected at this point.
57     content;
58   END;
59 %]
60 </div>
61
62 [%- # git_footer_html
63 -%]
64 <div id="page-footer">
65 [% IF project AND project_description %]
66   <div class="page_footer_text">[% project_description | html %]</div>
67 [% END %]
68 [% FOR feed IN feeds %]
69     <a class="[% feed.class %]" title="[% feed.title %]" href="[% feed.href %]">[% feed.name %]</a>
70 [% END %]
71 </div>
72
73 [% site_footer %]
74
75 </body>
76 </html>
77 [%- END -%]