[dancer-users] Using TT's WRAPPER directive
WK
wanradt at gmail.com
Sun Mar 10 18:15:29 GMT 2013
2013/3/10 Octavian Rasnita <orasnita at gmail.com>:
> I need to use different wrappers for different templates, and
> Template-toolkit allows using a directive like:
I am not sure, is this the same problem, which bites me, but it does
not hurt to try it out. Instead of your conf try this one (set spaces
as YAML likes, they may lost or added here):
template: "template_toolkit"
engines:
template:
template_toolkit:
WRAPPER: layouts/wrapper
ENCODING: 'utf8'
start_tag: '[%'
end_tag: '%]'
--
Wbr,
Kõike hääd,
Gunnar
More information about the dancer-users
mailing list