[Dancer-users] Template - Using INCLUDE

Geistteufel geistteufel at yahoo.fr
Sat Mar 26 12:58:50 CET 2011


Well I have a layout main which include my template.

My index.tt is huge and I want to split it into many partial file.

I want to do something like this :

<div class="tabs"
<% INCLUDE tabs %>
<% INCLUDE shorten %>
<% INCLUDE sidebar %>

... well instead of having one huge index file.

How can I do that ? I have try but Template tell me that "tabs" is missing.

More information about the Dancer-users mailing list