mirror of https://github.com/sipwise/www_csc.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
474 B
12 lines
474 B
[% IF template.name.match('(\.html$|\.css$|\.js$|\.txt$)');
|
|
debug("Passing page through as text: $template.name");
|
|
content;
|
|
ELSIF template.name.match('account_[^.]+.tt$');
|
|
debug("Applying HTML page layout account wrappers to $template.name\n");
|
|
content WRAPPER layout/html + layout/body + tt/account_wrapper.tt;
|
|
ELSE;
|
|
debug("Applying HTML page layout wrappers to $template.name\n");
|
|
content WRAPPER layout/html + layout/body;
|
|
END;
|
|
-%]
|