# NAME Dancer::Template::Mustache - Wrapper for the Mustache template system # VERSION version 1.0.1 # SYNOPSIS ```perl # in config.yml template: mustache # in the app get '/style/:style' => sub { template 'style' => { style => param('style') }; }; # in views/style.mustache That's a nice, manly {{style}} mustache you have there! ``` # DESCRIPTION This module is a [Dancer](https://metacpan.org/pod/Dancer) wrapper for [Template::Mustache](https://metacpan.org/pod/Template::Mustache). For now, the extension of the mustache templates must be `.mustache`. Partials are supported, as are layouts. For layouts, the content of the inner template is sent via the usual _content_ template variable. So a typical mustached layout would look like: ```
{{{ content }}} ``` # SEE ALSO The Mustache templating system: [http://mustache.github.com/](http://mustache.github.com/) [Dancer::Template::Handlebars](https://metacpan.org/pod/Dancer::Template::Handlebars) - Dancer support for Handlebars, a templating system that is a superset of Mustache. # AUTHOR Yanick Champoux