mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
closes #6184
This commit is contained in:
@@ -199,14 +199,17 @@ function addTags(categoryData, res) {
|
||||
}
|
||||
|
||||
res.locals.linkTags = [
|
||||
{
|
||||
rel: 'alternate',
|
||||
type: 'application/rss+xml',
|
||||
href: categoryData.rssFeedUrl,
|
||||
},
|
||||
{
|
||||
rel: 'up',
|
||||
href: nconf.get('url'),
|
||||
},
|
||||
];
|
||||
|
||||
if (!categoryData['feeds:disableRSS']) {
|
||||
res.locals.linkTags.push({
|
||||
rel: 'alternate',
|
||||
type: 'application/rss+xml',
|
||||
href: categoryData.rssFeedUrl,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user