discourse/app/assets/javascripts/admin/addon
Martin Brennan f94682e2c4
FIX: Do not use SVGs for twitter:image metadata (#16973)
Twitter does not allow SVGs to be used for twitter:image
metadata (see https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup)
so we should fall back to the site logo if the image option
provided to `crawlable_meta_data` or SiteSetting.site_twitter_summary_large_image_url
is an SVG, and do not add the meta tag for twitter:image at all
if the site logo is an SVG.
2022-06-03 09:02:57 +10:00
..
adapters
components DEV: Remove jquery from themes list (#16980) 2022-06-02 16:01:24 -05:00
controllers DEV: Fix typo in customize-robots-txt (#16599) 2022-05-02 22:54:05 +02:00
helpers DEV: Remove 'htmlSafe' string prototype extensions (#16766) 2022-05-13 14:58:26 -05:00
mixins FEATURE: Add new site setting list type with name and values (#16045) 2022-03-08 13:18:43 +02:00
models DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
routes DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
services DEV: Avoid unnecessary site-settings:main lookups (#15006) 2021-11-18 17:11:59 +01:00
templates FIX: Do not use SVGs for twitter:image metadata (#16973) 2022-06-03 09:02:57 +10:00