mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
feat: Added ability to set page meta description (#1917)
* feat: Added ability to set page meta description * Update page_header.php * Update viewforum.php * Updated * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php * Update viewtopic.php
This commit is contained in:
parent
5a60ee0193
commit
7b8b9a0bba
5 changed files with 19 additions and 0 deletions
|
@ -123,6 +123,7 @@ $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_DESCRIPTION' => $page_cfg['meta_description'] ?? '',
|
||||
|
||||
'SITENAME' => $bb_cfg['sitename'],
|
||||
'U_INDEX' => BB_ROOT . 'index.php',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue