[% # $Id: wrapper,v 1.4 2005/01/14 20:20:56 jv Exp $ -%]
[%

SWITCH page.type;
    CASE "text";
	content;

    CASE "html";
	content WRAPPER page/html
		      + page/layout;

    CASE "nolayout";
	content WRAPPER page/html;

    CASE;
	THROW page.type "Invalid page type: $page.type";
END;

-%]
