diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-05-23 09:38:49 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-05-23 09:38:49 +0200 |
commit | aaea4df364d1374d83c10f0b001ccf8e57353055 (patch) | |
tree | 8eed1e78ca974d93b65b227f25b417ee2dbde785 /templates | |
parent | b09e27989b8786806ec12c9023ccdabc660f8901 (diff) |
Sync with ikiwiki 3.20150329.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/note.mdwn | 5 | ||||
-rw-r--r-- | templates/popup.mdwn | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/note.mdwn b/templates/note.mdwn index 9ef5ad9..8de7374 100644 --- a/templates/note.mdwn +++ b/templates/note.mdwn @@ -1,11 +1,12 @@ +[[!templatebody <<ENDBODY <div class="notebox"> <TMPL_VAR text> </div> -<TMPL_UNLESS text> +ENDBODY]] + Use this template to insert a note into a page. The note will be styled to float to the right of other text on the page. This template has one parameter: <ul> <li>`text` - the text to display in the note </ul> -</TMPL_UNLESS> diff --git a/templates/popup.mdwn b/templates/popup.mdwn index 92455eb..b721a95 100644 --- a/templates/popup.mdwn +++ b/templates/popup.mdwn @@ -1,4 +1,3 @@ -<TMPL_UNLESS mouseover> Use this template to create a popup window that is displayed when the mouse is over part of the page. This template has two parameters: <ul> @@ -10,7 +9,9 @@ large for good usability. </ul> Note that browsers that do not support the CSS will display the popup inline in the page, inside square brackets. -</TMPL_UNLESS> + +[[templatebody <<ENDBODY <span class="popup"><TMPL_VAR mouseover> <span class="paren">[</span><span class="balloon"><TMPL_VAR popup></span><span class="paren">]</span> </span> +ENDBODY]] |