This commit is contained in:
barisusakli
2014-03-23 18:53:21 -04:00
parent f247c2195e
commit 0741b162cb
2 changed files with 8 additions and 1 deletions

View File

@@ -124,6 +124,13 @@ categoriesController.get = function(req, res, next) {
}
];
if(categoryData.backgroundImage) {
res.locals.metaTags.push({
name: 'og:image',
content: categoryData.backgroundImage
});
}
res.locals.linkTags = [
{
rel: 'alternate',