[% IF template.name.match('^api|(\.html$|\.css$|\.js$|\.txt$)'); content; ELSIF template.name.match('^login\/(login|change_password)\.tt$'); content WRAPPER html.tt; ELSE; content WRAPPER html.tt + body.tt; END; -%] [% # vim: set tabstop=4 expandtab: -%]