SYNOPSISTo use this engine, you may configure Dancer2 via "config.yaml":
Or you may also change the rendering engine on a per-route basis by setting it manually with "set":
# code code code set template => 'template_toolkit';
DESCRIPTIONThis template engine allows you to use Template::Toolkit in Dancer2.
render($template, \%tokens)Renders the template. The first arg is a filename for the template file or a reference to a string that contains the template. The second arg is a hashref for the tokens that you wish to pass to Template::Toolkit for rendering.
AUTHORDancer Core Developers
COPYRIGHT AND LICENSEThis software is copyright (c) 2016 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.