Ghost/test/unit/data
Aileen Nowak 86ab62704b
🐛 Fixed structured data issue for publisher logo (#11826)
closes #11304

- Google requires an `ImageObject` to be always returned for `publisher.logo` (https://developers.google.com/search/docs/data-types/article)
- The previous fix 3f5daa60c8 added a second nested `url` error and got therefore reverted with 7ac614030d
- This commit updates the image object generation fn to **always** return an `ImageObject` with minimum of `url` and `@type` properties. If dimensions are available, we'll pass those in there as well
2020-05-20 18:16:20 +12:00
..
db Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
exporter Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
importer Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
meta 🐛 Fixed structured data issue for publisher logo (#11826) 2020-05-20 18:16:20 +12:00
schema Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
validation Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
xml/sitemap Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00