[Dancer-users] Template - Using INCLUDE

sawyer x xsawyerx at gmail.com
Sat Mar 26 13:30:20 CET 2011


hey

On Sat, Mar 26, 2011 at 1:58 PM, Geistteufel <geistteufel at yahoo.fr> wrote:

> I want to do something like this :
>
> <div>
> <div class="tabs"
> <% INCLUDE tabs %>
> </div>
> <% INCLUDE shorten %>
> <% INCLUDE sidebar %>
> </div>
>
>
> ... well instead of having one huge index file.
>
> How can I do that ?



You'll need the extension as well:

<% INCLUDE tabs.tt %>
<% INCLUDE shorten.tt %>
<% INCLUDE sidebar.tt %>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110326/175e1a5d/attachment.htm>


More information about the Dancer-users mailing list