Skip to content

Commit

Permalink
closes #1668
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Sep 22, 2017
1 parent 2185480 commit f989988
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/controllers/topics.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@ function addTags(topicData, req, res) {
type: 'application/rss+xml',
href: topicData.rssFeedUrl,
},
{
rel: 'canonical',
href: nconf.get('url') + '/topic/' + topicData.slug,
},
];

if (topicData.category) {
Expand Down

0 comments on commit f989988

Please sign in to comment.