X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fwrapper.tt2;h=d9506fb037af644d37cf02a7deeca08726dc793d;hb=ddcb5bd9d5b1057cd5e9797cb7096e44777219bd;hp=f19e71156611d5889aecb4a3b6c7efe61d098607;hpb=7c24d86cccc430e7ebb02c5a4b119145ff7e3048;p=catagits%2FGitalist.git diff --git a/root/wrapper.tt2 b/root/wrapper.tt2 old mode 100644 new mode 100755 index f19e711..d9506fb --- a/root/wrapper.tt2 +++ b/root/wrapper.tt2 @@ -1,75 +1,97 @@ [%- IF no_wrapper || template.name.match('\.(css|js|txt)'); content; ELSE; -%] - - + + - - - - [%- + <meta charset="utf-8" /> + <meta name="generator" content="gitweb/[% version %] git/[% git_version %]" /> + <meta name="robots" content="index, nofollow" /> + <title>[%# FIXME - MING %][%- title = BLOCK; c.config.sitename; IF Repository; ' - ' _ Repository.name | html; END; - IF action; ' / ' _ action; END; - IF filename; ' - ' _ filename | html; END; - IF action && action == 'tree'; '/'; END; + IF c.action; ' / ' _ c.action; END; + IF filename; ' - ' _ filename | html; END; + IF c.action && c.action == 'tree'; '/'; END; END; title; -%] (Gitalist) [% INCLUDE '_header_feeds.tt2' %] - - - - - + + + -
+ -
-[% - IF action; - SET actmpl = action _ ".tt2"; - INCLUDE $actmpl; - ELSE; - # The output of gitweb.cgi is injected at this point. - content; - END; -%] -
-