mirror of https://github.com/Mowie/Mowie
Raw page title is now available as a smarty variable
This commit is contained in:
parent
636ae4b756
commit
a9810e8ce8
|
@ -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']);
|
||||
|
|
Loading…
Reference in New Issue