[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1031663: ITP: libmojolicious-plugin-templatetoolkit-perl -- Template Toolkit renderer plugin for Mojolicious

Package: wnpp
Owner: Mason James <mtj@kohaaloha.com>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : libmojolicious-plugin-templatetoolkit-perl
  Version         : 0.006
  Upstream Author : Dan Book <dbook@cpan.org>
* URL             : https://metacpan.org/release/Mojolicious-Plugin-TemplateToolkit
* License         : Artistic-2.0
  Programming Lang: Perl
  Description     : Template Toolkit renderer plugin for Mojolicious

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.


 push @{$app->renderer->paths}, '/path/to/more/templates';

The package will be maintained under the umbrella of the Debian Perl Group.

Generated with the help of dpt-gen-itp(1) from pkg-perl-tools.

Reply to: