Merge pull request #839 from ArthurHoaro/theme/daily-page-title

Display daily date in the page title (browser title)
This commit is contained in:
ArthurHoaro 2017-03-29 18:38:52 +02:00 committed by GitHub
commit e96be632f5
1 changed files with 1 additions and 0 deletions

View File

@ -695,6 +695,7 @@ function showDaily($pageBuilder, $LINKSDB, $conf, $pluginManager)
$dayDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $day.'_000000');
$data = array(
'pagetitle' => $conf->get('general.title') .' - '. format_date($dayDate, false),
'linksToDisplay' => $linksToDisplay,
'cols' => $columns,
'day' => $dayDate->getTimestamp(),