mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 03:08:35 +08:00
f94682e2c4
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. |
||
---|---|---|
.. | ||
application_helper.rb | ||
common_helper.rb | ||
email_helper.rb | ||
embed_helper.rb | ||
emoji_helper.rb | ||
list_helper.rb | ||
posts_helper.rb | ||
qunit_helper.rb | ||
topic_post_bookmarkable_helper.rb | ||
topics_helper.rb | ||
user_notifications_helper.rb |