Fix template finding

This commit is contained in:
Stéphane Goetz 2015-07-30 15:41:38 +02:00
bovenliggende 651f860222
commit d5458c5a0f

Bestand weergeven

@ -83,6 +83,6 @@ class ContentPage extends \Todaymade\Daux\Format\Base\ContentPage
}
$template = new Template($params['templates'], $params['theme']['templates']);
return $template->render($this->homepage ? 'home' : 'content', ['page' => $page, 'params' => $params]);
return $template->render($this->homepage ? 'theme::home' : 'theme::content', ['page' => $page, 'params' => $params]);
}
}