djcev.com

//

Git Repos / blogofile_gitview / _templates / gitview / git_file.mako

Last commit to this repo was on 2022-01-23 at 14:14.

<%inherit file="site.mako"/>\
<%
fnamel = file['fullname'].split('/')
fname = " / ".join(fnamel)
repolink = bf.util.path_join(bf.config.gitview.path, repo['name'])
%>\
<%def name="git_header(name, l, extra)">\
<%include file="git_header.mako" args="name=name, lastcommit=l, extra=extra"/>\
</%def>\
<article>
${self.git_header(repo['name'], repo['last_commit'], fname)}
% if file['isbinary'] and not file['isimage']:
<p>This is a binary file and as such will not be rendered here.</p>
% else:
${data}
% endif
<p><a href="#top">Return to top of this page</a> or
<a href="/${repolink}">return to the overview of this repository</a></p>
</article>\

Return to top of this page or return to the overview of this repository