0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/unit
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
..
adapters Added Router etc to shared/express + use everywhere 2020-05-01 19:32:57 +01:00
api Added custom json-string format to AJV validator 2020-04-17 11:56:20 +01:00
apps Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
config Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
data 🐛 Fixed structured data issue for publisher logo (#11826) 2020-05-20 18:16:20 +12:00
helpers 🐛 Fixed structured data issue for publisher logo (#11826) 2020-05-20 18:16:20 +12:00
lib Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
models 🐛 Fixed permission for "Administrator" to be able to edit post visibility 2020-05-20 17:47:27 +12:00
services Added success indicator for members magic links 2020-05-08 13:17:51 +01:00
web Added Router etc to shared/express + use everywhere 2020-05-01 19:32:57 +01:00