Made SyntaxHighlight more generic so /commitdiff now gets highlighting too.
[catagits/Gitalist.git] / templates / _diff.tt2
CommitLineData
f5da8e7a 1<link rel="stylesheet" type="text/css" href="/static/css/syntax/[% language %].css"/>
9dc3b9a5 2[% FOREACH item IN diff %]
3<div class='diff-head'>
4 diff --git
5 <a href='/blob?p=[% project %];f=[% item.file %];h=[% item.src %]'>[% item.a %]</a>
6 <a href='/blob?p=[% project %];f=[% item.file %];h=[% item.dst %]'>[% item.b %]</a>
7</div>
8<div class='diff-index'>
9 [% item.index %]
10</div>
11<div class='diff-patch'>
f5da8e7a 12 <pre>[% blobs.${loop.index} %]</pre>
9dc3b9a5 13</div>
14[% END %]