[Templates] Dual pass template processing
Mark Knoop
mark at rawcane.net
Tue Jan 29 21:19:14 GMT 2008
>> Hi
>>
>> I am new to TT and haven't read the book yet so sorry if this is a daft
>> question.
>>
>> I have been using my own template system (how predictable) for generating
>> XHTML pages but am considering whether to start using TT. 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.
>>
>> I guess if I used TT variables I could have all the tags processed first
>> time round, with some just being replaced by new ones to be processed at
>> request time but is there a smarter way to do this? Or am I worrying
>> about nothing?
>
> I believe what you are looking for is the TAG_STYLE:
> http://tt2.org/docs/manual/Config.html#section_TAG_STYLE
>
That should do the trick - thankyou.
More information about the templates
mailing list