On Fri, Mar 15, 2013 at 06:19:33AM +0000, Andy Wardley wrote:
> On 15/03/2013 01:13, Philippe Bruhat (BooK) wrote:
> >My question is: did I overlook a simpler way to do this?
> 
> You can use the BLOCKS configuration item to define templates up front:
> 
>   http://template-toolkit.com/docs/manual/Config.html#section_BLOCKS
> 

Thanks! This is exactly what I was looking for.

I'll refrain from uploading to CPAN, then. :-)

-- 
 Philippe Bruhat (BooK)

 No matter who you may be, there is always someone who is a little worse
 because he thinks he is a little better.
                                     (Moral from Groo The Wanderer #3 (Epic))

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to