ikiwiki/doc/templates/gitbranch.mdwn

17 lines
532 B
Markdown

<span class="infobox">
Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
Branch: <TMPL_VAR branch><br />
Author: <TMPL_VAR author><br />
</span>
<TMPL_UNLESS branch>
This template is used to create an infobox for a git branch. It uses
these parameters:
<ul>
<li>branch - the name of the branch, prefixed with the name of one of the
remotes listed on the [[/git]] page and provided by the gitremotes script
(e.g. github/master)</li>
<li>author - the author of the branch</li>
</ul>
</TMPL_UNLESS>