> On Jan 29, 2008 3:39 PM, Mark Knoop <[EMAIL PROTECTED]> wrote:
>> One of the
>> features of my system is that one set of tags gets processed when the 
>> site
>> is built ie the pages are prerendered to an extent. The rest of the tags
>> then get processed at request time by my CGI script.
>
> The documentation templates that come with TT demonstrate this.  You
> basically just adjust the tags to something different for each pass.
> http://tt2.org/docs/faq/index.html#section_If_I_m_using_TT_to_write_out_a_TT_template_is_there_a_good_way_to_escape_and_
>
> You can set TAGS from outside the template when you create your Template 
> object.
>
> - Perrin
>

Great - I had thought this was probably something obvious and well-catered 
for but am just starting to find my way around. The TAG_STYLE option that 
Stuart mentioned looks neater though it may not be as clear which tags are 
which - this way is more logical but not as pretty perhaps. I'll have a 
play.

Thanks
Mark 


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

Reply via email to