in reply to How do you use Template Toolkit with Dancer2?
G'day v3ritas,
Welcome to the Monastery.
I was looking at a $work Dancer2 project this morning and recalled there was a question about this a few days ago. Here's some addional information.
$ cat config.yml ... template: "template_toolkit" engines: template: template_toolkit: START_TAG: '<%' END_TAG: '%>' PRE_CHOMP: 1 COMPILE_EXT: '.tcc'
In brief:
For more detailed information on those, see Template::Manual::Config and "Dancer2::Template::TemplateToolkit - Template Caching".
— Ken
|
|---|