libmojolicious-plugin-templatetoolkit-perl - 0.006-2 main

Mojolicious::Plugin::TemplateToolkit is a renderer for tt2 or Template
Toolkit templates. See Template and Template::Manual for details on the
Template Toolkit format, and Mojolicious::Guides::Rendering for general
information on rendering in Mojolicious.
.
Along with template files, inline and data section templates can be rendered
in the standard Mojolicious fashion. Template files and data sections will be
retrieved using Mojolicious::Renderer via Template::Provider::Mojo for both
direct rendering and directives such as INCLUDE. This means that instead of
specifying INCLUDE_PATH|Template::Manual::Config/"INCLUDE_PATH", you should
set Mojolicious::Renderer/"paths" to the appropriate paths.
.
$app->renderer->paths(['/path/to/templates']);
.
push @{$app->renderer->paths}, '/path/to/more/templates';

Priority: optional
Section: perl
Suites: dawn landing 
Maintainer: Debian Perl Group <pkg-perl-maintainers [꩜] lists.alioth.debian.org>
 
Homepage Source Package
 

Dependencies

Installed Size: 47.1 kB
Architectures: all 

 

Versions

0.006-2 all