]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates/gitbranch.mdwn
balance end tag
[ikiwiki.git] / doc / templates / gitbranch.mdwn
index 79444cda555a0c84829e1bda4985d96ab8d79814..10ff4de832ef5ba155ca4f6004e3d20812aa402f 100644 (file)
@@ -1,7 +1,13 @@
 <span class="infobox">
-Available in a [[!taglink /git]] repository [[branch|/branches]].<br />
-Branch: <TMPL_VAR branch><br />
+Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
+Branch: <TMPL_IF browse>
+<a href="<TMPL_VAR browse>"><TMPL_VAR branch></a>
+<TMPL_ELSE>
+<TMPL_VAR branch>
+</TMPL_IF><br />
+<TMPL_IF author>
 Author: <TMPL_VAR author><br />
+</TMPL_IF>
 </span>
 <TMPL_UNLESS branch>
 This template is used to create an infobox for a git branch. It uses