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. Thanks. --Octavian ----- Original Message ----- From: "WK" <[email protected]> To: "Perl Dancer users mailing list" <[email protected]> Sent: Sunday, March 10, 2013 8:15 PM Subject: Re: [dancer-users] Using TT's WRAPPER directive > 2013/3/10 Octavian Rasnita <[email protected]>: > >> 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 > _______________________________________________ > dancer-users mailing list > [email protected] > http://lists.preshweb.co.uk/mailman/listinfo/dancer-users > _______________________________________________ dancer-users mailing list [email protected] http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
