mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-09 09:01:33 +02:00
remove description from categories
it gets added in src/meta/tags
This commit is contained in:
@@ -21,13 +21,6 @@ categoriesController.list = function (req, res, next) {
|
||||
content: 'website',
|
||||
}];
|
||||
|
||||
if (meta.config.description) {
|
||||
res.locals.metaTags.push({
|
||||
name: 'description',
|
||||
content: String(meta.config.description),
|
||||
});
|
||||
}
|
||||
|
||||
var ogImage = meta.config['og:image'] || meta.config['brand:logo'] || '';
|
||||
if (ogImage) {
|
||||
if (!ogImage.startsWith('http')) {
|
||||
|
||||
Reference in New Issue
Block a user