Node.js based forum software built for the modern web
add page to canonical link #3758
barisusaklic2b29ff4c469
diff --git a/src/controllers/topics.js b/src/controllers/topics.jsindex 7f386c5af8..af62540ff6 100644--- a/src/controllers/topics.js+++ b/src/controllers/topics.js@@ -236,7 +236,7 @@ topicsController.get = function(req, res, callback) {},{rel: 'canonical',- href: nconf.get('url') + '/topic/' + topicData.slug+ href: nconf.get('url') + '/topic/' + topicData.slug + (currentPage > 1 ? '?page=' + currentPage : '')}];