-
-
25 May 2011 15:24:05 UTC
- Distribution: Dancer-Template-MojoTemplate
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (863 / 0 / 0)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (8.37KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
Why not adopt me?
This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.NAME
Dancer::Template::MojoTemplate - Mojo::Template wrapper for Dancer
VERSION
version 0.2.0
DESCRIPTION
This is an interface between Dancer's template engine abstraction layer and the Mojo::Template module.
In order to use this engine, use the template setting:
template: mojo_template
This can be done in your config.yml file or directly in your app code with the set keyword.
You can configure Mojo::Template :
template: 'mojo_template' engines: mojo_template: auto_escape: 1 trim_mark: '-' prepend: 'my $t = $_[0];'
SEE ALSO
Dancer, Mojo::Template, http://mojolicio.us/
AUTHOR
James Aitken <jaitken@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by James Aitken.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Dancer::Template::MojoTemplate, copy and paste the appropriate command in to your terminal.
cpanm Dancer::Template::MojoTemplate
perl -MCPAN -e shell install Dancer::Template::MojoTemplate
For more information on module installation, please visit the detailed CPAN module installation guide.