]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Document new feature.
authorspalax <spalax@web>
Thu, 14 Apr 2016 16:43:32 +0000 (12:43 -0400)
committeradmin <admin@branchable.com>
Thu, 14 Apr 2016 16:43:32 +0000 (12:43 -0400)
doc/plugins/contrib/compile.mdwn

index 564f7f68c8a3320a101f861bf14bcbc233188326..7527f26984bc51be95f3104fdf21d87e00ef0f8f 100644 (file)
@@ -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