Fix template finding

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

View File

@ -83,6 +83,6 @@ class ContentPage extends \Todaymade\Daux\Format\Base\ContentPage
} }
$template = new Template($params['templates'], $params['theme']['templates']); $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]);
} }
} }