Fix the path in the /blob & /blame header.
[catagits/Gitalist.git] / root / nav / path.tt2
1 <div class='path'>
2  <a href="[% c.uri_for("tree", {hb=head.sha1}) %]">[% Project.name %]</a>
3  [% FOREACH part IN filename.split('/') %]
4   [% path = loop.first ? part : path _ '/' _ part %]
5   / <a href="[% c.uri_for(loop.last ? 'blob' : 'tree', {hb=head.sha1,f=path}) %]">[% part %]</a>
6  [% END %]
7 </div>