]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/templates/gitbranch.mdwn
Use templatebody for the templates in the basewiki and docwiki
[ikiwiki.git] / doc / templates / gitbranch.mdwn
index 853da92801ffc8c039c29f9133238cd4342aa4d6..4ea73c91b24c6d6f6b545caf7d9334a22c1c62b4 100644 (file)
@@ -1,9 +1,11 @@
+[[!templatebody <<ENDBODY
 <div class="infobox">
 Available in a [[!taglink /git]] repository [[!taglink branch|/branches]].<br />
 Branch: <TMPL_IF browse><a href="<TMPL_VAR browse>"></TMPL_IF><TMPL_VAR branch><TMPL_IF browse></a></TMPL_IF><br />
 <TMPL_IF author>Author: <TMPL_VAR author><br /></TMPL_IF>
 </div>
-<TMPL_UNLESS branch>
+ENDBODY]]
+
 This template is used to create an infobox for a git branch. It uses
 these parameters:
 
@@ -13,4 +15,3 @@ these parameters:
   (e.g. github/master)</li>
 <li>author - the author of the branch</li>
 </ul>
-</TMPL_UNLESS>