From 0af4f7b0cc218c07852bb9be14b60efe590e3ded Mon Sep 17 00:00:00 2001 From: Philip Thomas Date: Sat, 4 Apr 2020 14:14:49 -0500 Subject: [PATCH] Add basic Twitter card Twitter should fall back to Open Graph meta tags [1], but this doesn't seem to work properly. This commit adds a basic "Summary" Twitter card using the same title, image, and description as the Open Graph tags. [1] https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started#opengraph --- static-site/src/components/SEO/SEO.jsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static-site/src/components/SEO/SEO.jsx b/static-site/src/components/SEO/SEO.jsx index 8d7568150..43d59e8f8 100644 --- a/static-site/src/components/SEO/SEO.jsx +++ b/static-site/src/components/SEO/SEO.jsx @@ -88,6 +88,12 @@ class SEO extends Component { property="fb:app_id" content={config.siteFBAppID ? config.siteFBAppID : ""} /> + + {/* Twitter Card tags */} + + + + ); }