Fix pervasive repo_dir -> repos_dir typo
[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 core binaries version [% git_version %] -->
6   <meta charset="utf-8">
7   <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]">
8   <meta name="robots" content="index, nofollow">
9   <title>[%-
10     title = BLOCK;
11       c.config.sitename;
12       IF Repository; ' - ' _ Repository.name | html; END;
13       IF action;  ' / ' _ action; END;
14       IF filename; ' - ' _ filename | html; END;
15       IF action && action == 'tree'; '/'; END;
16     END;
17     title;
18   -%] (Gitalist)</title>
19   [% INCLUDE '_header_feeds.tt2' %]
20   <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/screen.css') %]" type="text/css" media="screen, projection">
21   <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/print.css') %]" type="text/css" media="print">
22   <!--[if lt IE 8]>
23     <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/ie.css') %]" type="text/css" media="screen, projection">
24   <![endif]-->  
25   <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]">
26   <link rel="shortcut icon" href="[% c.uri_for('git-favicon.png') %]" type="image/png">
27 </head>
28
29 <body>
30
31 <div id='the-container'>
32
33 [% site_header %]
34
35 <div id="page-header">
36   <a title="git homepage" href="http://git-scm.org">
37    <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo">
38   </a>
39   <a href="[% c.uri_for('/', {p=''}) %]">A Gitalist</a>
40   [%- IF Repository %]
41   / <a href="[% c.uri_for('summary') %]">[% Repository.name %]</a>
42   [% IF action;  " / " _ action; END;
43   END %]
44 [%
45   IF Repository;
46     INCLUDE 'nav/search.tt2';
47   END;
48 # / git_header_html
49 %]
50 </div>
51
52 <div id='body'>
53 [%
54   IF action;
55     SET actmpl = action _ ".tt2";
56     INCLUDE $actmpl;
57   ELSE;
58     # The output of gitweb.cgi is injected at this point.
59     content;
60   END;
61 %]
62 </div>
63
64 <div id="page-footer">
65 [% IF Repository %]
66   [% Repository.description | html %]
67 [% END %]
68 [% INCLUDE '_footer_feeds.tt2' %]
69 </div>
70
71 </div>
72
73 </body>
74 </html>
75 [%- END -%]