mirror of
https://github.com/discourse/discourse.git
synced 2026-03-04 01:15:08 +08:00
Linkbacks (reflection links showing "topics that link here") were
incorrectly using schema.org/ItemList markup. This caused Google Rich
Results Test errors ("Multiple ListItem elements defined on page") when
combined with plugins like discourse-ai that add their own ItemList for
related topics.
ItemList is intended for curated/ranked lists (e.g., "Related Topics").
Linkbacks are automatic citations, not recommendations, so plain links
are semantically correct.
Also extracts `linkbacks_for(post)` helper to TopicView for cleaner
template code.
Internal ref - t/170560
|
||
|---|---|---|
| .. | ||
| show.html.erb_spec.rb | ||