The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

SEE ALSO

MojoX::Renderer::Xslate, Mojolicious