% if not dirname.raw: % reltree = './' % else: % reltree = '../' * (len(dirname.split('/')) - 1) % end % relroot = reltree + '../' * (len(repo.branch.split('/')) - 1) git » {{repo.name}} » {{repo.branch}} » {{dirname.unicode}}/{{fname.unicode}}

git » {{repo.name}} » {{repo.branch}} » tree

[{{repo.branch}}] / % base = smstr(reltree) % for c in dirname.split('/'): % if not c.raw: % continue % end {{c.unicode}} / % base += c + '/' % end {{!fname.html}}

% if can_embed_image(repo, fname.unicode): {{!embed_image_blob(fname.raw, blob.raw_content)}} % elif can_markdown(repo, fname.unicode): {{!markdown_blob(blob.utf8_content)}} % elif can_colorize(blob.utf8_content): {{!colorize_blob(fname.unicode, blob.utf8_content)}} % else:
{{blob.utf8_content}}
% end