Skip to content

Kelp-framework/Module-Template-Xslate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Kelp::Module::Template::Xslate - Template rendering via Text::Xslate for Kelp

SYNOPSIS

First ...

# conf/config.pl { modules => ['Template::Xslate'], modules_init => { 'Template::Xslate' => { ... } } }

Then ...

# lib/MyApp.pm sub some_route { my $self = shift; return $self->template( \'Inline <: $name :>', { name => 'template' } ); } sub another_route { my $self = shift; return $self->template( 'filename', { bar => 'foo' } ); }

SEE ALSO

Kelp, Text::Xslate

About

Text::Xslate adapter for Kelp

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages