[dancer-users] Using TT's WRAPPER directive
Octavian Rasnita
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.
Thanks.
--Octavian
----- 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"
>
> engines:
> template:
> template_toolkit:
> WRAPPER: layouts/wrapper
> ENCODING: 'utf8'
> start_tag: '[%'
> end_tag: '%]'
>
> --
> Wbr,
> Kõike hääd,
>
> Gunnar
> _______________________________________________
> dancer-users mailing list
> dancer-users at dancer.pm
> http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
>
More information about the dancer-users
mailing list