[Catalyst] Can we use both TT and TTsite at the same time
Jason Kohles
email at jasonkohles.com
Sun Nov 12 18:44:48 GMT 2006
On Nov 8, 2006, at 10:10 AM, Bill Moseley wrote:
> On Wed, Nov 08, 2006 at 08:18:49AM -0500, Jason Kohles wrote:
>> site/wrapper:
>> [%
>> IF template.name.match('\.(css|js|txt)') OR nowrap OR
>> template.nowrap;
>> debug("Passing page through as text: $template.name");
>> content;
>
> Is your css and javascript dynamically generated?
>
Some of it is, although I tend to include $stash->{ nowrap } = 1 for
those, so the template name matching is somewhat redundant...
--
Jason Kohles
email at jasonkohles.com
http://www.jasonkohles.com/
"A witty saying proves nothing." -- Voltaire
More information about the Catalyst
mailing list