mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 06:06:45 +02:00
Pages: get templates from templates folder
This commit is contained in:
@@ -104,7 +104,7 @@ class Pages
|
||||
*/
|
||||
public static function renderPage(array $page)
|
||||
{
|
||||
Themes::template(empty($page['template']) ? 'default' : $page['template'])
|
||||
Themes::template(empty($page['template']) ? 'templates/default' : 'templates/' . $page['template'])
|
||||
->assign('page', $page, true)
|
||||
->display();
|
||||
}
|
||||
|
Reference in New Issue
Block a user