diff --git a/pelican/plugins/seo/seo_enhancer/html_enhancer/breadcrumb_schema_creator.py b/pelican/plugins/seo/seo_enhancer/html_enhancer/breadcrumb_schema_creator.py index 022e11b..dd884a6 100644 --- a/pelican/plugins/seo/seo_enhancer/html_enhancer/breadcrumb_schema_creator.py +++ b/pelican/plugins/seo/seo_enhancer/html_enhancer/breadcrumb_schema_creator.py @@ -82,20 +82,30 @@ def create_schema(self): { "@type": "ListItem", "position": :n=1:, - "name": :Sitename:, - "item": :SITEURL: + "item": + { + "@id": :SITEURL:, + "name": :Sitename: + } }, { "@type": "ListItem", "position": :n+1:, "name": :name:, - "item": :url: + "item": + { + "@id": :url:, + "name": :name: + } }, { "@type": "ListItem", "position": :n+x:, - "name": :name:, - "item": :url: + "item": + { + "@id": :url:, + "name": :name: + } } ] } @@ -114,8 +124,11 @@ def create_schema(self): { "@type": "ListItem", "position": 1, - "name": self._sitename, - "item": self._siteurl, + "item": + { + "@id": self._siteurl, + "name": self._sitename + } } ) @@ -124,8 +137,11 @@ def create_schema(self): { "@type": "ListItem", "position": item["position"], - "name": item["name"], - "item": item["url"], + "item": + { + "@id": item["url"], + "name": item["name"] + } } )