Ghost/test/unit
Naz f3e0949c73 Updated twitter/og structured data rules
refs https://github.com/TryGhost/Ghost/issues/10921
refs https://github.com/TryGhost/Ghost/pull/11068

- When there is no twitter or og image specified for a post or a page the new default falls back to appropriate site-wide twitter/og image or site's cover image.
- New rules of follback follow this logic:

post/page/amp = post.twitter_image || post.feature_image || settings.twitter_image || settings.cover_image;

post/page/amp = post.og_image || post.feature_image  || settings.og_image || settings.cover_image;
2021-02-05 18:50:11 +13:00
..
adapters Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
api Enabled Members for all sites (#12582) 2021-02-02 16:12:53 +00:00
apps 🔒 Fixed open redirect in private site login 2021-01-26 16:42:42 +00:00
data Updated twitter/og structured data rules 2021-02-05 18:50:11 +13:00
helpers Updated twitter/og structured data rules 2021-02-05 18:50:11 +13:00
lib Made the package-json module ready to be exported (#12451) 2020-12-10 11:37:43 +01:00
models 🐛 Added multiple use grace period to tokens (#12519) 2021-01-18 17:03:41 +00:00
server Fixed settings reinit to only emit changed settings events (#12184) 2020-09-23 14:35:03 +01:00
services 🏗 Flattened members subscriptions data in API (#12581) 2021-02-02 16:12:53 +00:00
shared/config Updated tests locations and added linting of core/shared (#11872) 2020-06-01 22:06:50 +01:00
web Pointed the v3 unit tests to the actual v3 code 2021-01-22 16:32:03 +13:00