summary refs log tree commit diff
path: root/lib/Dancer/Template
diff options
context:
space:
mode:
authorRichard Simões <rsimoes@cpan.org>2012-04-12 16:35:58 -0700
committerRichard Simões <rsimoes@cpan.org>2012-04-12 16:35:58 -0700
commitcbccdd2ae67a6fb2ab132524d302889b5f0eaff4 (patch)
treee5551247f28b5d65a08c8189889d4d2e4cc0a49b /lib/Dancer/Template
parentcheckin before tagging (diff)
parentadd pod about cascade and layout (diff)
downloaddancer-template-xslate-cbccdd2ae67a6fb2ab132524d302889b5f0eaff4.tar.gz
Merge pull request #6 from ywatase/add_pod_about_layout
add pod about cascade and layout
Diffstat (limited to 'lib/Dancer/Template')
-rw-r--r--lib/Dancer/Template/Xslate.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Dancer/Template/Xslate.pm b/lib/Dancer/Template/Xslate.pm
index 74f4c18..3bb3314 100644
--- a/lib/Dancer/Template/Xslate.pm
+++ b/lib/Dancer/Template/Xslate.pm
@@ -81,6 +81,21 @@ You can configure L<Text::Xslate>:
         module:
           - Text::Xslate::Bridge::TT2Like # to keep partial compatibility with Template Toolkit
 
+=head1 CASCADE
+
+Dancer already provides a CASCADE-like ability, which called a "layout". The
+reason is written on L<Dancer::Template::TemplateToolkit>
+
+If you might want to use CASCADE, you should turn off "layout" function.
+
+=over 4
+
+=item * Disable the layout in Dancer
+
+You can do this by simply commenting (or removing) the C<layout> configuration
+in the F<config.yml> file.
+
+=back
 
 =head1 SEE ALSO