From a9810e8ce88607628dde9f788d4723fc9e7ca84a Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 27 Mar 2018 18:38:26 +0200 Subject: [PATCH] Raw page title is now available as a smarty variable --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 1025365..aa4f840 100755 --- a/index.php +++ b/index.php @@ -107,6 +107,7 @@ if (file_exists('config/config.yml')) //Finally render everything http_response_code($page->getResponseCode()); + $page->assign('page_title', $page->getTitle()); $page->assign($MCONF['tpl_title'], $page->getTitle() . ' | ' . $MCONF['title']); $page->assign($MCONF['tpl_content'], $page->getContent()); $page->assign($MCONF['tpl_webUri'], $MCONF['web_uri']);