// get warp $warp = Warp::getInstance(); // load main template file, located in /layouts/template.php echo $warp['template']->render('template');