Mojolicious::Plugin::XslateRenderer - Text::Xslate plugin
# 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', ...}
};
Mojolicous::Plugin::XslateRenderer is a simple loader for
MojoX::Renderer::Xslate.
Mojolicious::Plugin::XslateRenderer inherits all methods from
Mojolicious::Plugin and overrides the following ones:
$plugin->register
Registers renderer in Mojolicious application.
MojoX::Renderer::Xslate, Mojolicious