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:
Roman Kelesidis 2025-05-31 10:13:55 +03:00 committed by GitHub
commit 7b8b9a0bba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 19 additions and 0 deletions

View file

@ -45,6 +45,9 @@ if ($bb_cfg['show_network_news']) {
// Init userdata
$user->session_start();
// Set meta description
$page_cfg['meta_description'] = $bb_cfg['site_desc'];
// Init main vars
$viewcat = isset($_GET[POST_CAT_URL]) ? (int)$_GET[POST_CAT_URL] : 0;
$lastvisit = IS_GUEST ? TIMENOW : $userdata['user_lastvisit'];