[% MACRO l(text, args) BLOCK; c.localize(text, args); END; %] [% IF template.name.match('\.(css|js|txt)'); debug("Passing page through as text: $template.name"); content; ELSE; debug("Applying HTML page layout wrappers to $template.name\n"); content WRAPPER template/html + template/layout; END; -%]