1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-13 08:34:19 +02:00

Infrastructure changes: setting new default theme - simple and new default templates will have name - default.php

This commit is contained in:
Awilum
2018-04-22 01:41:16 +03:00
parent 63985cd922
commit 17b4870381
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ class Pages
*/
public static function renderPage(array $page)
{
View::factory(empty($page['template']) ? 'index' : $page['template'])
View::factory(empty($page['template']) ? 'default' : $page['template'])
->assign('page', $page, true)
->display();
}

View File

@@ -11,7 +11,7 @@ timezone: UTC
date_format: "F d Y H:i:s."
charset: UTF-8
theme: default
theme: simple
plugins:
- admin