Raw page title is now available as a smarty variable

This commit is contained in:
kolaente 2018-03-27 18:38:26 +02:00
parent 636ae4b756
commit a9810e8ce8
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -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']);