mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Added robots meta-tag support 🤖 (#1587)
* Added robots meta-tag support 🤖
* Update CHANGELOG.md
* Update page_header.php
This commit is contained in:
parent
aca756ea67
commit
6c1db78204
3 changed files with 7 additions and 0 deletions
|
@ -122,6 +122,7 @@ $template->assign_vars([
|
|||
'USER_OPTIONS_JS' => IS_GUEST ? '{}' : json_encode($user->opt_js, JSON_THROW_ON_ERROR),
|
||||
|
||||
'USE_TABLESORTER' => !empty($page_cfg['use_tablesorter']),
|
||||
'ALLOW_ROBOTS' => !$bb_cfg['board_disable'] && (!isset($page_cfg['allow_robots']) || $page_cfg['allow_robots'] === true),
|
||||
|
||||
'SITENAME' => $bb_cfg['sitename'],
|
||||
'U_INDEX' => BB_ROOT . 'index.php',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue