diff options
author | http://smcv.pseudorandom.co.uk/ <smcv@web> | 2014-02-21 14:19:09 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-02-21 14:19:09 -0400 |
commit | 0437084ce9cbcd254b2ec84c8582a780eebd2dc1 (patch) | |
tree | d413ff0cc86fab9233be6c16bba9678718a97087 /doc | |
parent | ded1779969453d60b27fbccb012b0a07d360be3c (diff) | |
download | ikiwiki-0437084ce9cbcd254b2ec84c8582a780eebd2dc1.tar ikiwiki-0437084ce9cbcd254b2ec84c8582a780eebd2dc1.tar.gz |
use a <div> for the infobox so mdwn doesn't insert <p> inside a <span>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/templates/gitbranch.mdwn | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/doc/templates/gitbranch.mdwn b/doc/templates/gitbranch.mdwn index 10ff4de83..62171bc60 100644 --- a/doc/templates/gitbranch.mdwn +++ b/doc/templates/gitbranch.mdwn @@ -1,14 +1,8 @@ -<span class="infobox"> +<div class="infobox"> 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> +Branch: <TMPL_IF browse><a href="<TMPL_VAR browse>"></TMPL_IF><TMPL_VAR branch><TMPL_IF browse></a></TMPL_IF> +<TMPL_IF>Author: <TMPL_VAR author><br /></TMPL_IF> +</div> <TMPL_UNLESS branch> This template is used to create an infobox for a git branch. It uses these parameters: |