[%- # Enable collapse for make html code less by size IF config.get('collapse'); FILTER collapse; INCLUDE Main; END; ELSE; INCLUDE Main; END; -%] [%- BLOCK Main -%] [%- # Set proper type SET type = 'transitional'; IF show == 'index'; type = 'frameset'; END; -%] [% config.title; UNLESS show == 'index'; ' - ' _ show.ucfirst; END; %] [% FOR css = config.url.skin.css.list %] [% END %] [% FOR js = config.url.skin.js.list %] [% END %] [% SWITCH show %] [% CASE 'index' %] [% content %] [% CASE 'prop' %] [% content %] [% CASE DEFAULT %] [% content %] [% END %] [% END %]