Dancer2::Template::TemplateFlute - Template flute engine for Dancer2
version 0.003
To use this engine, you may configure Dancer2 via config.yaml:
config.yaml
template: "template_flute"
Or you may also change the rendering engine on a per-route basis by setting it manually with set:
set
# code code code set template => 'template_flute';
This template engine allows you to use Template::Flute in Dancer2.
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.
The extension for the template files. html.
html
Dancer2, Dancer2::Core::Role::Template, Template::Flute.
William Carr <bill@bottlenose-wine.com>
This software is copyright (c) 2015 by William Carr.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dancer2::Template::TemplateFlute, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2::Template::TemplateFlute
CPAN shell
perl -MCPAN -e shell install Dancer2::Template::TemplateFlute
For more information on module installation, please visit the detailed CPAN module installation guide.