There are two kinds of variables in a templer deployment:
- Variables which are global.
These are defined in the configuration file templer.cfg at the top-level of the site.
- Variables which are defined on a per-page basis
These variables are included in the header of the page, which is the part before the deliminator "----".
Variables are included by the standard HTML::Template construct:
<!-- tmpl_var name='name' -->
The input which generated this output page, which you can see at the foot of the page, defines the variable "my_name" and so we can output it via this:
<!-- tmpl_var name='my_name' -->
Here we see that:
My name is Steve Kemp