Git Repos / blogofile_gitview / _templates / gitview / git_files.mako
Last update to this file was on 2022-01-23 at 14:14.
Show git_files.mako
<%inherit file="site.mako"/>\
<%
prestyle = "style=\"font-family: 'Inconsolata', monospace; \""
repourl = bf.util.site_path_helper(bf.config.gitview.reporoot,
repo['name'])
repourl = bf.config.site.url + repourl + ".git"
third = '<a href="/{}/{}/log.html">commit log</a>, '.format(
bf.config.gitview.path, repo['name'])
third += 'file list, '
third += 'refs'
%>\
<%def name="git_header(name, l, extra)">\
<%include file="git_header.mako" args="name=name, lastcommit=l, extra=extra"/>\
</%def>\
<%def name="file_list(files)">\
<%include file="git_file_list.mako" args="files=files"/>\
</%def>\
<article>
${self.git_header(repo['name'], repo['last_commit'], third)}
<p>${repo['desc']}</p>
<p>You can clone this repo with
<span ${prestyle}>git clone ${repourl}.git</span> .</p>
${self.file_list(files)}
<p><a href="#top">Return to top of this page</a></p>
</article>\
Return to the top of this page or return to the overview of this repo.
Log git_files.mako
Date | Commit Message | Author | + | - |
---|---|---|---|---|
2022-01-23 | More file extension handling, small template fix | cev | +3 | -3 |
2021-07-25 | Small template changes, rem comment from gitview | cev | +2 | -3 |
2021-07-25 | Initial commit | cev | +26 |
Return to the top of this page or return to the overview of this repo.