include add post index
This commit is contained in:
barisusakli
2015-09-22 20:28:53 -04:00
parent fb6abd32c4
commit b3cbb46010

View File

@@ -213,7 +213,7 @@ topicsController.get = function(req, res, callback) {
},
{
property: "og:url",
content: nconf.get('url') + '/topic/' + topicData.slug
content: nconf.get('url') + '/topic/' + topicData.slug + (req.params.post_index ? ('/' + req.params.post_index) : '');
},
{
property: 'og:image',