NAME
Mojolicious::Plugin::XslateRenderer - Text::Xslate plugin
SYNOPSIS
# Mojolicious
$self->plugin('xslate_renderer');
$self->plugin(xslate_renderer => {
template_options => { syntax => 'TTerse', ...}
});
# Mojolicious::Lite
plugin 'xslate_renderer';
plugin xslate_renderer => {
template_options => { syntax => 'TTerse', ...}
};
DESCRIPTION
Mojolicous::Plugin::XslateRenderer is a simple loader for MojoX::Renderer::Xslate.
METHODS
Mojolicious::Plugin::XslateRenderer inherits all methods from Mojolicious::Plugin and overrides the following ones:
register
$plugin->register
Registers renderer in Mojolicious application.