mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
This commit is contained in:
@@ -124,6 +124,13 @@ categoriesController.get = function(req, res, next) {
|
||||
}
|
||||
];
|
||||
|
||||
if(categoryData.backgroundImage) {
|
||||
res.locals.metaTags.push({
|
||||
name: 'og:image',
|
||||
content: categoryData.backgroundImage
|
||||
});
|
||||
}
|
||||
|
||||
res.locals.linkTags = [
|
||||
{
|
||||
rel: 'alternate',
|
||||
|
||||
Reference in New Issue
Block a user