mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
fixing bug in topics causing meta tags to revert on subsequent refresh
This commit is contained in:
@@ -165,7 +165,6 @@ middleware.renderHeader = function (options, callback) {
|
||||
};
|
||||
|
||||
var uid = '0';
|
||||
console.log(options.res.locals.metaTags);
|
||||
// Meta Tags
|
||||
templateValues.metaTags = defaultMetaTags.concat(options.res.locals.metaTags || []).map(function(tag) {
|
||||
if(!tag || typeof tag.content !== 'string') {
|
||||
|
||||
Reference in New Issue
Block a user