|
|
@ -45,10 +45,17 @@ Controllers.home = function(req, res, next) {
|
|
|
|
property: 'og:title',
|
|
|
|
property: 'og:title',
|
|
|
|
content: 'Index | ' + (meta.config.title || 'NodeBB')
|
|
|
|
content: 'Index | ' + (meta.config.title || 'NodeBB')
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
property: "og:type",
|
|
|
|
property: 'og:type',
|
|
|
|
content: 'website'
|
|
|
|
content: 'website'
|
|
|
|
}];
|
|
|
|
}];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(meta.config['brand:logo']) {
|
|
|
|
|
|
|
|
res.locals.metaTags.push({
|
|
|
|
|
|
|
|
property: 'og:image',
|
|
|
|
|
|
|
|
content: meta.config['brand:logo']
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
next(null);
|
|
|
|
next(null);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
categories: function (next) {
|
|
|
|
categories: function (next) {
|
|
|
|