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