mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
add page to canonical link #3758
This commit is contained in:
@@ -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 : '')
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user