更改 Ember-url 文章的规范链接标签以使用新的规范 URL

The following PR introduced new canonical urls for posts. And I really appreciate this! :tada:

In crawler-view check the canonical link-tag for a posts Ember-url like:
https://meta.discourse.org/t/feedback-on-new-hamburger-and-user-menus/32519/123

<link rel="canonical" href="https://DOMAIN/t/SLUG/32519?page=6">

This should be changed to contain …#post_123:

<link rel="canonical" href="https://DOMAIN/t/SLUG/32519?page=6#post_123">

Ressources on anchors in canonical-tags:

1 个赞