mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Use default text in place of empty string
This commit is contained in:
@@ -63,9 +63,9 @@ class ContentController extends BasePageController
|
||||
$content = $contents->getFrontPage();
|
||||
$index = $contents->getIndex();
|
||||
$this->smarty->assign('front', true);
|
||||
$meta_title = $index->title ?? '';
|
||||
$meta_keywords = $index->metakeyword ?? '';
|
||||
$meta_description = $index->metadescription ?? '';
|
||||
$meta_title = $index->title ?? 'Contents page';
|
||||
$meta_keywords = $index->metakeyword ?? 'contents';
|
||||
$meta_description = $index->metadescription ?? 'This is the contents page.';
|
||||
}
|
||||
|
||||
if (empty($content)) {
|
||||
|
||||
Reference in New Issue
Block a user