perl-Dancer-Template-HtmlTemplate-0.07-alt1.noarch.rpm


Advertisement

Description

perl-Dancer-Template-HtmlTemplate - HTML::Template wrapper for Dancer

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Dancer-Template-HtmlTemplate-0.07-alt1.noarch.rpm
Package name perl-Dancer-Template-HtmlTemplate
Package version 0.07
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 7.55 KB
Installed size 7.55 KB
This class is an interface between Dancer's template engine abstraction layer
and the the HTML::Template manpage module.
In order to use this engine, use the template setting:
template: HtmlTemplate
This can be done in your config.yml file or directly in your app code with the
set keyword.
Since HTML::Template uses different syntax to other template engines like
Template::Toolkit, the default layout `main.tt' generated by the scaffolding
script must be updated to use HTML::Template directives:
[% content %]
needs to be changed to:
<!--tmpl_var name="content"-->
or
<TMPL_VAR name="content">
Future versions of Dancer may ask you which template engine you wish to use, and
write the default layout and example templates appropriately.
Also, the current default file extension for template files is `.tt'; at the
time this template engine wrapper was produced, the template engine wrapper
could not override default file extensions.  This is now possible, but I haven't
made this change as it would break applications relying on the default being
`.tt'.
If you want to change the extension used, use the `extension' configuration
option, for example, to declare that the extension should be `.tmpl':
template: HtmlTemplate
engines:
HtmlTemplate:
extension: 'tmpl'
WARNING - Even if you use the default `.tt', you may want to explictly
set the `extension' setting to indicate that, as future versions may default
to a more suitable file extension.

Alternatives

Package Version Architecture Repository
perl-Dancer-Template-HtmlTemplate - - -

Requires

Name Value
/usr/share/perl5 -
perl(Dancer/FileUtils.pm) -
perl(Dancer/ModuleLoader.pm) -
perl(Dancer/Template/Abstract.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Dancer/Template/HtmlTemplate.pm) = 0.070
perl-Dancer-Template-HtmlTemplate = 0.07-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Dancer-Template-HtmlTemplate-0.07-alt1.noarch.rpm
Source Package perl-Dancer-Template-HtmlTemplate-0.07-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Dancer-Template-HtmlTemplate rpm package:
    # sudo apt-get install perl-Dancer-Template-HtmlTemplate

Files

Path
/usr/share/doc/perl-Dancer-Template-HtmlTemplate-0.07/Changes
/usr/share/doc/perl-Dancer-Template-HtmlTemplate-0.07/README
/usr/share/perl5/Dancer/
/usr/share/perl5/Dancer/Template/HtmlTemplate.pm

See Also

Package Description
perl-Dancer-Template-Mason-0.004001-alt1.noarch.rpm Mason wrapper for Dancer
perl-Dancer-Template-Mason2-0.05-alt1.noarch.rpm Mason 2.x wrapper for Dancer
perl-Dancer-Template-MicroTemplate-1.0.0-alt1.noarch.rpm Text::MicroTemplate engine for Dancer
perl-Dancer-Template-MojoTemplate-0.2.0-alt1.noarch.rpm Mojo::Template wrapper for Dancer
perl-Dancer-Template-Mustache-1.1.0-alt1.noarch.rpm Wrapper for the Mustache template system
perl-Dancer-Template-Semantic-0.01-alt1.noarch.rpm Semantic Template wrapper for Dancer
perl-Dancer-Template-TemplateDeclare-0.3.2-alt1.noarch.rpm Template::Declare wrapper for Dancer
perl-Dancer-Template-TemplateSandbox-1.00-alt1.noarch.rpm Template::Sandbox wrapper for Dancer
perl-Dancer-Template-Tenjin-0.5-alt1.noarch.rpm Tenjin wrapper for Dancer
perl-Dancer-Template-Tiny-0.03-alt1.noarch.rpm Template::Tiny backend to Dancer
perl-Dancer2-Debugger-0.008-alt1.noarch.rpm Dancer2 panels for Plack::Debugger
perl-Dancer2-Logger-Console-Colored-0.007-alt1.noarch.rpm Dancer2 colored console logger
perl-Dancer2-Logger-File-RotateLogs-0.01-alt1.noarch.rpm an automated logrotate
perl-Dancer2-Logger-Fluent-0.06-alt1.noarch.rpm Dancer2 logger engine for Fluent::Logger
perl-Dancer2-Logger-Log4perl-0.06-alt1.noarch.rpm Dancer2 logger interface for Log4perl
Advertisement
Advertisement