Skip to content

Node.js based forum software built for the modern web

fix: #8979

Barış Soner Uşaklıbf171adc8362
diff --git a/install/data/defaults.json b/install/data/defaults.json
index 29ece08946..aee61b65df 100644
--- a/install/data/defaults.json
+++ b/install/data/defaults.json
@@ -104,6 +104,7 @@
"maximumGroupTitleLength": 40,
"preventTopicDeleteAfterReplies": 0,
"feeds:disableSitemap": 0,
+ "feeds:disableRSS": 0,
"sitemapTopics": 500,
"maintenanceMode": 0,
"maintenanceModeStatus": 503,
diff --git a/src/controllers/tags.js b/src/controllers/tags.js
index 9191aa07c3..1484a12a37 100644
--- a/src/controllers/tags.js
+++ b/src/controllers/tags.js
@@ -53,6 +53,7 @@ tagsController.getTag = async function (req, res) {
templateData.pagination = pagination.create(page, pageCount);
helpers.addLinkTags({ url: 'tags/' + tag, res: req.res, tags: templateData.pagination.rel });
+ templateData['feeds:disableRSS'] = meta.config['feeds:disableRSS'];
templateData.rssFeedUrl = nconf.get('relative_path') + '/tags/' + tag + '.rss';
res.render('tag', templateData);
};