NAME

Mojolicious::Plugin::Template::Mustache - Mojolicious Plugin

SYNOPSIS

# Mojolicious
$self->plugin('Template::Mustache');

# Mojolicious::Lite
plugin 'Template::Mustache';

get '/inline' => sub {
my $c = shift;
$c->render(
    handler => 'mustache',
    inline  => 'Inline hello, {{message}}!',
    message => 'Mustache',
);
};

DESCRIPTION

Mojolicious::Plugin::Template::Mustache is a Mojolicious plugin.

METHODS

Mojolicious::Plugin::Template::Mustache inherits all methods from Mojolicious::Plugin.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicious.org, http://mustache.github.io, Template::Mustache.

AUTHOR

Cyrill Novgorodcev <cynovg@cpan.org>

LICENSE

                Copyright 2017 Cyrill Novgorodcev.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.