aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorspalax <spalax@web>2016-04-14 12:43:32 -0400
committeradmin <admin@branchable.com>2016-04-14 12:43:32 -0400
commit96e2315499db1c31c807013924eaa3faa7006f26 (patch)
tree537b08e5e606853315f3922c7e1e1dac8582dc86 /doc/plugins
parent552b42f039918337eacd510c84a2a4ba27d94c12 (diff)
downloadikiwiki-96e2315499db1c31c807013924eaa3faa7006f26.tar
ikiwiki-96e2315499db1c31c807013924eaa3faa7006f26.tar.gz
Document new feature.
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/contrib/compile.mdwn1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/plugins/contrib/compile.mdwn b/doc/plugins/contrib/compile.mdwn
index 564f7f68c..7527f2698 100644
--- a/doc/plugins/contrib/compile.mdwn
+++ b/doc/plugins/contrib/compile.mdwn
@@ -91,6 +91,7 @@ using python-like string formatting, and described in the setup options section.
advertised).
- `template`: Name of the template to use (if set, the `source` option is
irrelevant).
+- `var_*`: Any argument with a name starting with ``var_`` is transmitted to the template. For instance, if directive has argument ``var_foo=bar``, then the template will have a variable named ``foo``, and ``<TMPL_VAR FOO>`` will be replaced by ``bar``.
### Extensions