v1.18.x
Barış Soner Uşaklı 7 years ago
parent 13e56ad5f3
commit 3196311f15

@ -199,14 +199,17 @@ function addTags(categoryData, res) {
} }
res.locals.linkTags = [ res.locals.linkTags = [
{
rel: 'alternate',
type: 'application/rss+xml',
href: categoryData.rssFeedUrl,
},
{ {
rel: 'up', rel: 'up',
href: nconf.get('url'), href: nconf.get('url'),
}, },
]; ];
if (!categoryData['feeds:disableRSS']) {
res.locals.linkTags.push({
rel: 'alternate',
type: 'application/rss+xml',
href: categoryData.rssFeedUrl,
});
}
} }

Loading…
Cancel
Save