]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/patchqueue/varioki_--_add_template_variables___40__with_closures_for_values__41___in_ikiwiki.setup.mdwn
use wikilinks
[ikiwiki.git] / doc / patchqueue / varioki_--_add_template_variables___40__with_closures_for_values__41___in_ikiwiki.setup.mdwn
index bb320063b0198d5b05f13965e6c469037d04ccd9..0fd7156422c979ec46e9bb24af224dafe2b5ccad 100644 (file)
@@ -9,7 +9,7 @@ This plugin hooks itsef into the "pagetemplate" hook, and adds parameters to the
       ’toplvl’   => ’sub {return $page eq "index"}’
     },
 
-For every key in the configured hash, the corresponding value is evaluated.  Based on whether the value was a stringified scalar, code, array, or hash, the value of the template parameter is generated on the fly.  The available variables are whatever is available to "pagetemplate" hook scripts, namely, $page, $destpage, and $template.  Additionally, the global variables and functions as defined in the Ikiwiki documentation (<http://ikiwiki.kitenet.net/plugins/write.html>) may be used.
+For every key in the configured hash, the corresponding value is evaluated.  Based on whether the value was a stringified scalar, code, array, or hash, the value of the template parameter is generated on the fly.  The available variables are whatever is available to "pagetemplate" hook scripts, namely, $page, $destpage, and $template.  Additionally, the global variables and functions as defined in the Ikiwiki documentation (<http://ikiwiki.info/plugins/write.html>) may be used.
 
 ManojSrivastava