From e66f84d413ceca43fa58b8fe7cf6c400b46dba9d Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Mon, 11 Jan 2016 13:32:09 +0700 Subject: [PATCH] Quick fixes --- cache/installedVersion.json | 2 +- system/htmly.php | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cache/installedVersion.json b/cache/installedVersion.json index dd46971..4a80ec5 100644 --- a/cache/installedVersion.json +++ b/cache/installedVersion.json @@ -1,4 +1,4 @@ { "id": 782014, - "tag_name": "v2.7.2" + "tag_name": "v2.7.3" } diff --git a/system/htmly.php b/system/htmly.php index 5c8f71e..083acdf 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -58,7 +58,7 @@ get('/index', function () { 'bodyclass' => 'in-front', 'breadcrumb' => '', 'p' => $front, - 'type' => 'is_front', + 'type' => 'is_frontpage', 'is_front' => true, ), $layout); @@ -96,7 +96,7 @@ get('/index', function () { 'description' => blog_description(), 'canonical' => site_url(), 'bodyclass' => 'no-posts', - 'type' => 'is_front', + 'type' => 'is_frontpage', 'is_front' => true, ), $layout); @@ -112,7 +112,7 @@ get('/index', function () { 'bodyclass' => 'in-front', 'breadcrumb' => '', 'pagination' => has_pagination($total, $perpage, $page), - 'type' => 'is_front', + 'type' => 'is_frontpage', 'is_front' => true, ), $layout); @@ -271,7 +271,7 @@ get('/edit/profile', function () { 'title' => 'Edit profile - ' . blog_title(), 'description' => blog_description(), 'canonical' => site_url(), - 'type' => 'is_admin', + 'type' => 'is_profile', 'is_admin' => true, 'bodyclass' => 'edit-profile', 'breadcrumb' => '' . config('breadcrumb.home') . ' » Edit profile', @@ -312,7 +312,7 @@ post('/edit/profile', function () { 'error' => '', 'postTitle' => $title, 'postContent' => $content, - 'type' => 'is_admin', + 'type' => 'is_profile', 'is_admin' => true, 'bodyclass' => 'edit-profile', 'breadcrumb' => '' . config('breadcrumb.home') . ' » Edit profile' @@ -330,7 +330,7 @@ get('/edit/frontpage', function () { 'title' => 'Edit frontpage - ' . blog_title(), 'description' => blog_description(), 'canonical' => site_url(), - 'type' => 'is_admin', + 'type' => 'is_frontpage', 'is_admin' => true, 'bodyclass' => 'edit-frontpage', 'breadcrumb' => '' . config('breadcrumb.home') . ' » Edit frontpage', @@ -371,7 +371,7 @@ post('/edit/frontpage', function () { 'error' => '', 'postTitle' => $title, 'postContent' => $content, - 'type' => 'is_admin', + 'type' => 'is_frontpage', 'is_admin' => true, 'bodyclass' => 'edit-frontpage', 'breadcrumb' => '' . config('breadcrumb.home') . ' » Edit frontpage'