remove fallbacks

v1.18.x
barisusakli 8 years ago
parent 3b8d14bf12
commit ea871384d8

@ -24,7 +24,7 @@ categoriesController.list = function (req, res, next) {
if (meta.config.description) {
res.locals.metaTags.push({
name: 'description',
content: String(meta.config.description || ''),
content: String(meta.config.description),
});
}

@ -134,7 +134,7 @@ module.exports = function (Meta) {
if (!hasDescription && Meta.config.description) {
meta.push({
name: 'description',
content: validator.escape(String(Meta.config.description || '')),
content: validator.escape(String(Meta.config.description)),
});
}
}

Loading…
Cancel
Save