Make schema breadcrumb urls absolute
All threads resolved!
All threads resolved!
Compare changes
Files
4+ 10
− 1
@@ -71,7 +71,16 @@ def schema_list_item(text, link, position)
In !46991 (merged) we include the logic to create the schema markup for breadcrumbs. For that we use the same info we use to build the regular HTML breadcrumb, including the link. These links are usually relative ones.
Although it's not totally certain, it seems tools that check schema markup, like the Google one, indicates that the url is invalid because it's relative.
In this MR we ensure to convert all relative links to absolute ones when creating the schema markup for the breadcrumb.
Related to #281378 (closed)