Made /blob & /blob_plain actions a little more robust.
[catagits/Gitalist.git] / root / default.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 web interface version [% version %], (C) 2005-2006, Kay Sievers <kay.sievers\@vrfy.org>, Christian Gierke -->
6 <!-- git core binaries version [% git_version %] -->
c8a42dd5 7 <meta charset="utf-8">
38a4951e 8 <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]">
9 <meta name="robots" content="index, nofollow">
da8f4f82 10 <title>[%-
11 title = BLOCK;
12 c.config.sitename;
13 IF Project; ' - ' _ Project.name | html; END;
14 IF action; ' / ' _ action; END;
15 IF filename; ' - ' _ filename | html; END;
16 IF action && action == 'tree'; '/'; END;
17 END;
18 title;
19 -%] (Gitalist)</title>
20 [% INCLUDE '_header_feeds.tt2' %]
6c36040d 21 <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/screen.css') %]" type="text/css" media="screen, projection">
22 <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/print.css') %]" type="text/css" media="print">
f71a83ab 23 <!--[if lt IE 8]>
6c36040d 24 <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/ie.css') %]" type="text/css" media="screen, projection">
f71a83ab 25 <![endif]-->
c8a42dd5 26 <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]">
da8f4f82 27 <link rel="shortcut icon" href="[% c.uri_for('git-favicon.png') %]" type="image/png">
24701964 28</head>
29
30<body>
31
32[% site_header %]
33
7a88ffa4 34<div id="page-header">
da8f4f82 35 <a title="git homepage" href="http://git-scm.org">
36 <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo">
c8a42dd5 37 </a>
38a4951e 38 <a href="[% c.uri_for('/', {p=''}) %]">A Gitalist</a>
da8f4f82 39 [%- IF Project %]
40 / <a href="[% c.uri_for('summary') %]">[% Project.name %]</a>
04d1d917 41 [% IF action; " / " _ action; END;
194fa4ff 42 END %]
d64ea8a0 43[%
da8f4f82 44 IF Project;
4df2f62f 45 INCLUDE 'nav/search.tt2';
d64ea8a0 46 END;
4df2f62f 47# / git_header_html
b3ad9e63 48%]
1fd8159c 49</div>
50
b3ad9e63 51<div id='body'>
52[%
86382b95 53 IF action;
295c9703 54 SET actmpl = action _ ".tt2";
55 INCLUDE $actmpl;
86382b95 56 ELSE;
57 # The output of gitweb.cgi is injected at this point.
58 content;
59 END;
d64ea8a0 60%]
b3ad9e63 61</div>
d3feefcf 62
06281e11 63<div id="page-footer">
da8f4f82 64[% IF Project %]
65 [% Project.description | html %]
04d1d917 66[% END %]
da8f4f82 67[% INCLUDE '_footer_feeds.tt2' %]
69421cb7 68</div>
69
d3feefcf 70</body>
71</html>
c8a42dd5 72[%- END -%]