1Dancer::Template(3)   User Contributed Perl Documentation  Dancer::Template(3)
2
3
4

NAME

6       Dancer::Template - template wrapper for Dancer
7

VERSION

9       version 1.3513
10

DESCRIPTION

12       This module is the wrapper that provides support for different template
13       engines.
14

USAGE

16   Default engine
17       The default engine used by Dancer::Template is
18       Dancer::Template::Simple.  If you want to change the engine used, you
19       have to edit the template configuration variable.
20
21   Configuration
22       The template configuration variable tells Dancer which engine to use
23       for rendering views.
24
25       You change it either in your config.yml file:
26
27           # setting TT as the template engine
28           template: "template_toolkit"
29
30       Or in the application code:
31
32           # setting TT as the template engine
33           set template => 'template_toolkit';
34

AUTHORS

36       This module has been written by Alexis Sukrieh. See the AUTHORS file
37       that comes with this distribution for details.
38

LICENSE

40       This module is free software and is released under the same terms as
41       Perl itself.
42

SEE ALSO

44       See Dancer for details about the complete framework.
45
46       You can also search the CPAN for existing engines in the
47       Dancer::Template namespace.
48

AUTHOR

50       Dancer Core Developers
51
53       This software is copyright (c) 2010 by Alexis Sukrieh.
54
55       This is free software; you can redistribute it and/or modify it under
56       the same terms as the Perl 5 programming language system itself.
57
58
59
60perl v5.32.0                      2020-07-28               Dancer::Template(3)
Impressum