Text::Xslate wrapper for Dancer
Perl
Switch branches/tags
Nothing to show
Pull request Compare This branch is 8 commits ahead, 15 commits behind gugod:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Dancer/Template
t
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README
dist.ini

README

NAME
    Dancer::Template::Xslate - Text::Xslate wrapper for Dancer

VERSION
    version 0.01

DESCRIPTION
    This class is an interface between Dancer's template engine abstraction
    layer and the Text::Xslate module.

    In order to use this engine, use the template setting:

        template: xslate

    This can be done in your config.yml file or directly in your app code
    with the set keyword.

    You can configure Text::Xslate :

        template: xslate
        engines:
            xslate:
                syntax: TTerse
                suffix: ".tt"
                module:
                    - Text::Xslate::Bridge::TT2 # to keep partial compatibility
                cache: 1
                cache_dir: "xslate_cache"

SEE ALSO
    Dancer, Text::Xslate, <http://xslate.org/>

AUTHOR
    franck cuny <franck@lumberjaph.net>

COPYRIGHT AND LICENSE
    This software is copyright (c) 2010 by franck cuny.

    This is free software; you can redistribute it and/or modify it under
    the same terms as the Perl 5 programming language system itself.