X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=templates%2Fdefault.tt2;h=e9a21357b99bbfd859a8858da2ee5d4ea4246f0d;hb=ad8884fc358e6a8a37c03589818fcd2b81d68420;hp=c476c28e162db91ee17245d2b7202bea5d41d191;hpb=e66db0fb45dbcb590646acf7c5fd6884b1ee65a4;p=catagits%2FGitalist.git diff --git a/templates/default.tt2 b/templates/default.tt2 index c476c28..e9a2135 100644 --- a/templates/default.tt2 +++ b/templates/default.tt2 @@ -9,10 +9,11 @@ - [% title %] (Gitalist) + [% title | html %] (Gitalist) [% IF baseurl %] [% END %] + [% FOR link IN links %] - - [% home_link_str %] + + [% home_link_str %] [%- IF project %] - / [% project %] + / [% project %] [% IF action; " / " _ action; END; END %] @@ -64,21 +65,24 @@ IF page_nav; INCLUDE "page_nav.tt2"; END; - +%] +
+[% IF action; - # XXX Err ... yeah, slight hack here ... ahem. - INCLUDE "index.tt2"; + SET actmpl = action _ ".tt2"; + INCLUDE $actmpl; ELSE; # The output of gitweb.cgi is injected at this point. content; END; %] +
[%- # git_footer_html -%]