NAME
Mojolicious::Plugin::Xslate - 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::Xslate is a simple loader for MojoX::Renderer::Xslate.
METHODS
Mojolicious::Plugin::Xslate inherits all methods from Mojolicious::Plugin and overrides the following ones:
register
$plugin->register
Registers renderer in Mojolicious application.