From efd5850fdc319758cbae602587b01abbe98c9278 Mon Sep 17 00:00:00 2001 From: Yusuke Watase Date: Thu, 12 Apr 2012 20:01:44 +0900 Subject: add pod about cascade and layout --- lib/Dancer/Template/Xslate.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'lib/Dancer/Template') 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: 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 + +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 configuration +in the F file. + +=back =head1 SEE ALSO -- cgit 1.4.1