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

Reply via email to