discourse/lib/site_settings
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
..
db_provider.rb FIX: site settings loading default values when no db 2019-06-14 14:21:07 +10:00
defaults_provider.rb FEATURE: Add English (UK) as locale (#11768) 2021-01-20 21:32:22 +01:00
deprecated_settings.rb DEV: Remove deprecated site settings. (#15725) 2022-02-07 11:26:06 +08:00
local_process_provider.rb DEV: Remove site_setting_saved event (#15164) 2021-12-02 09:33:03 -06:00
type_supervisor.rb FEATURE: Add new site setting list type with name and values (#16045) 2022-03-08 13:18:43 +02:00
validations.rb FIX: Do not use SVGs for twitter:image metadata (#16973) 2022-06-03 09:02:57 +10:00
yaml_loader.rb DEV: Drop env-based SiteSetting deprecation errors (#15273) 2021-12-13 17:36:29 +01:00