0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/test/unit/data/meta
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
..
amp_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
asset_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
author_fb_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
author_image_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
author_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
blog_logo_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
canonical_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
context_object_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
cover_image_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
creator_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
description_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
excerpt_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
image-dimensions_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
keywords_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
modified_date_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
og_image_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
og_type_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
paginated_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
published_date_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
rss_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
schema_spec.js 🐛 Fixed structured data issue for publisher logo (#11826) 2020-05-20 18:16:20 +12:00
structured_data_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
title_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
twitter_image_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00