Merge pull request #839 from ArthurHoaro/theme/daily-page-title
Display daily date in the page title (browser title)
This commit is contained in:
commit
e96be632f5
1 changed files with 1 additions and 0 deletions
|
@ -695,6 +695,7 @@ function showDaily($pageBuilder, $LINKSDB, $conf, $pluginManager)
|
||||||
|
|
||||||
$dayDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $day.'_000000');
|
$dayDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $day.'_000000');
|
||||||
$data = array(
|
$data = array(
|
||||||
|
'pagetitle' => $conf->get('general.title') .' - '. format_date($dayDate, false),
|
||||||
'linksToDisplay' => $linksToDisplay,
|
'linksToDisplay' => $linksToDisplay,
|
||||||
'cols' => $columns,
|
'cols' => $columns,
|
||||||
'day' => $dayDate->getTimestamp(),
|
'day' => $dayDate->getTimestamp(),
|
||||||
|
|
Loading…
Reference in a new issue