[dancer-users] Using TT's WRAPPER directive
orasnita at gmail.com
Mon Mar 11 10:52:57 GMT 2013
Great! This way it works.
And the WRAPPER directive doesn't give that error anymore.
I just changed an app built by Dancer (1) with "dancer -a AppName" but the config file it created was missing the "template" key.
----- Original Message -----
From: "WK" <wanradt at gmail.com>
To: "Perl Dancer users mailing list" <dancer-users at dancer.pm>
Sent: Sunday, March 10, 2013 8:15 PM
Subject: Re: [dancer-users] Using TT's WRAPPER directive
> 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"
> WRAPPER: layouts/wrapper
> ENCODING: 'utf8'
> start_tag: '[%'
> end_tag: '%]'
> Kõike hääd,
> dancer-users mailing list
> dancer-users at dancer.pm
More information about the dancer-users