mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update page_header.php
This commit is contained in:
parent
98d64c3212
commit
80a749cf06
1 changed files with 3 additions and 1 deletions
|
@ -123,7 +123,9 @@ $template->assign_vars([
|
|||
|
||||
'USE_TABLESORTER' => !empty($page_cfg['use_tablesorter']),
|
||||
'ALLOW_ROBOTS' => !$bb_cfg['board_disable'] && (!isset($page_cfg['allow_robots']) || $page_cfg['allow_robots'] === true),
|
||||
'META_CANONICAL' => $page_cfg['canonical_link'] ?? getCanonicalUrl(),
|
||||
'META_CANONICAL' => (isset($page_cfg['canonical_link']) && $page_cfg['canonical_link'] === true)
|
||||
? getCanonicalUrl()
|
||||
: ((is_string($page_cfg['canonical_link'])) ? $page_cfg['canonical_link'] : false),
|
||||
'META_DESCRIPTION' => $page_cfg['meta_description'] ?? '',
|
||||
|
||||
'SITENAME' => $bb_cfg['sitename'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue