From 17b4870381b8e71308bcf434828c732d506bc07e Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 22 Apr 2018 01:41:16 +0300 Subject: [PATCH] Infrastructure changes: setting new default theme - simple and new default templates will have name - default.php --- flextype/Pages.php | 2 +- site/config/site.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flextype/Pages.php b/flextype/Pages.php index 7abd71ba..ebba9735 100755 --- a/flextype/Pages.php +++ b/flextype/Pages.php @@ -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(); } diff --git a/site/config/site.yml b/site/config/site.yml index 7ebe57a7..1535ddef 100755 --- a/site/config/site.yml +++ b/site/config/site.yml @@ -11,7 +11,7 @@ timezone: UTC date_format: "F d Y H:i:s." charset: UTF-8 -theme: default +theme: simple plugins: - admin