diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-23 05:41:07 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-23 05:41:07 +0000 |
commit | 9d7375c3b263e77da29a5db22af480db8b99d990 (patch) | |
tree | 8cb9407a3893060b7868d8960db3ce0759092c2e /doc/templates | |
parent | 78b279c3d8c803391a5a4fc59ffd7855ce8bc5f5 (diff) | |
download | ikiwiki-9d7375c3b263e77da29a5db22af480db8b99d990.tar ikiwiki-9d7375c3b263e77da29a5db22af480db8b99d990.tar.gz |
* Allow preprocessor directives to contain python-like triple-quoted
text blocks, for easy nesting of quotes inside.
* Add a template plugin.
* Use the template plugin to add infoboxes to each plugin page listing basic
info about the plugin.
Diffstat (limited to 'doc/templates')
-rw-r--r-- | doc/templates/note.mdwn | 3 | ||||
-rw-r--r-- | doc/templates/plugin.mdwn | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/templates/note.mdwn b/doc/templates/note.mdwn new file mode 100644 index 000000000..29dca8f0a --- /dev/null +++ b/doc/templates/note.mdwn @@ -0,0 +1,3 @@ +<span class="infobox"> +<TMPL_VAR content> +</span> diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn new file mode 100644 index 000000000..ca69efd23 --- /dev/null +++ b/doc/templates/plugin.mdwn @@ -0,0 +1,6 @@ +<span class="infobox"> +Plugin: <TMPL_VAR name><br /> +Author: <TMPL_VAR author><br /> +Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br /> +Included in ikiwiki: <TMPL_IF included>yes<TMPL_ELSE>no</TMPL_IF><br /> +</span> |