1 2 3 4 5 6 7 8
[%- 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; -%]