From d5458c5a0f0a0ff9e31f9de64e8c28c8f5d69642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Goetz?= Date: Thu, 30 Jul 2015 15:41:38 +0200 Subject: [PATCH] Fix template finding --- libs/Format/HTML/ContentPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Format/HTML/ContentPage.php b/libs/Format/HTML/ContentPage.php index 6e7796e..e849b21 100644 --- a/libs/Format/HTML/ContentPage.php +++ b/libs/Format/HTML/ContentPage.php @@ -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]); } }