Dancer2::Template::Handlebars - Dancer2 wrapper for Handlebars templating engine
in your Dancer2 app config.yml:
...and if you want to add custom helpers:
You can create custom modules full of helpers to use in your Handlebars templates. For more details on creating these, see Dancer2::Template::Handlebars::Helpers.
Handlebars comes with helpers with, each, if, and unless.
...to Yanick, for his prior work on Dancer::Template::Handlebars and Dancer2::Template::Mustache. Most all of the code you see in this module is his work, or very, very close to his original code; I merely remixed it, and got tests working for my own purposes.
You can find this documentation for this module with the perldoc command.
You can also look for information at:
Gitlab issues tracker
D Ruth Holloway <email@example.com>
This software is copyright (c) 2020 by D Ruth Holloway.
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::Handlebars, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.