Cleanup and fix favicon
[catagits/Gitalist.git] / root / wrapper.tt2
CommitLineData
c8a42dd5 1[%- IF no_wrapper || template.name.match('\.(css|js|txt)'); content; ELSE; -%]
f71a83ab 2<!DOCTYPE html>
3<html lang="en">
d3feefcf 4<head>
f71a83ab 5 <!-- git core binaries version [% git_version %] -->
c8a42dd5 6 <meta charset="utf-8">
38a4951e 7 <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]">
8 <meta name="robots" content="index, nofollow">
da8f4f82 9 <title>[%-
10 title = BLOCK;
11 c.config.sitename;
87581f05 12 IF Repository; ' - ' _ Repository.name | html; END;
da8f4f82 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' %]
6c36040d 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">
f71a83ab 22 <!--[if lt IE 8]>
6c36040d 23 <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/ie.css') %]" type="text/css" media="screen, projection">
f71a83ab 24 <![endif]-->
c8a42dd5 25 <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]">
7c24d86c 26 <link rel="shortcut icon" href="[% c.uri_for('/static/git-favicon.png') %]" type="image/png">
24701964 27</head>
28
29<body>
30
2cf1e781 31<div id='the-container'>
32
24701964 33[% site_header %]
34
7a88ffa4 35<div id="page-header">
da8f4f82 36 <a title="git homepage" href="http://git-scm.org">
37 <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo">
c8a42dd5 38 </a>
38a4951e 39 <a href="[% c.uri_for('/', {p=''}) %]">A Gitalist</a>
87581f05 40 [%- IF Repository %]
41 / <a href="[% c.uri_for('summary') %]">[% Repository.name %]</a>
04d1d917 42 [% IF action; " / " _ action; END;
194fa4ff 43 END %]
d64ea8a0 44[%
87581f05 45 IF Repository;
4df2f62f 46 INCLUDE 'nav/search.tt2';
d64ea8a0 47 END;
4df2f62f 48# / git_header_html
b3ad9e63 49%]
1fd8159c 50</div>
51
b3ad9e63 52<div id='body'>
53[%
86382b95 54 IF action;
295c9703 55 SET actmpl = action _ ".tt2";
56 INCLUDE $actmpl;
86382b95 57 ELSE;
58 # The output of gitweb.cgi is injected at this point.
59 content;
60 END;
d64ea8a0 61%]
b3ad9e63 62</div>
d3feefcf 63
06281e11 64<div id="page-footer">
87581f05 65[% IF Repository %]
66 [% Repository.description | html %]
04d1d917 67[% END %]
da8f4f82 68[% INCLUDE '_footer_feeds.tt2' %]
69421cb7 69</div>
70
2cf1e781 71</div>
72
d3feefcf 73</body>
74</html>
c8a42dd5 75[%- END -%]