aboutsummaryrefslogtreecommitdiff
path: root/doc/templates/gitbranch.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-09-15 23:12:53 +0100
committerSimon McVittie <smcv@debian.org>2014-09-15 23:12:53 +0100
commit3ed83401540ee0bbc42d8c7065856eb6bb8b1de5 (patch)
tree14424751686cf09a90be2bc9cad892362f4d59f6 /doc/templates/gitbranch.mdwn
parent5ff68d517165b0b24a01d4624be1ba2e4dff336f (diff)
downloadikiwiki-3ed83401540ee0bbc42d8c7065856eb6bb8b1de5.tar
ikiwiki-3ed83401540ee0bbc42d8c7065856eb6bb8b1de5.tar.gz
Revert "Use templatebody for the templates in the basewiki and docwiki"
This reverts commit 236c46a3f7e5e62296484dc47b4882f7f4327a06. We can't apply this bit until the ikiwiki on ikiwiki.info (i.e. Branchable) supports [[!templatebody]].
Diffstat (limited to 'doc/templates/gitbranch.mdwn')
-rw-r--r--doc/templates/gitbranch.mdwn5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/templates/gitbranch.mdwn b/doc/templates/gitbranch.mdwn
index 4ea73c91b..853da9280 100644
--- a/doc/templates/gitbranch.mdwn
+++ b/doc/templates/gitbranch.mdwn
@@ -1,11 +1,9 @@
-[[!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>
-ENDBODY]]
-
+<TMPL_UNLESS branch>
This template is used to create an infobox for a git branch. It uses
these parameters:
@@ -15,3 +13,4 @@ these parameters:
(e.g. github/master)</li>
<li>author - the author of the branch</li>
</ul>
+</TMPL_UNLESS>