fix: use full url for og:image (#401)

* fix: use full url for og:image

* fix: add twitter card tags

* fix: update og:image to use full URL

* fix: add twitter card tags again

* fix: remove twitter creator meta tag
This commit is contained in:
JavaScript Joe 2020-01-16 14:40:26 -07:00 committed by GitHub
parent e5e0e37f23
commit 03e4a70be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,12 @@
content="width=device-width, initial-scale=1, shrink-to-fit=no" content="width=device-width, initial-scale=1, shrink-to-fit=no"
/> />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<!-- General tags -->
<meta <meta
name="description" name="description"
content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them." content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
/> />
<meta name="image" content="%PUBLIC_URL%/og-image.png" /> <meta name="image" content="https://www.excalidraw.com/og-image.png" />
<!-- OpenGraph tags --> <!-- OpenGraph tags -->
<meta property="og:url" content="https://www.excalidraw.com/" /> <meta property="og:url" content="https://www.excalidraw.com/" />
@ -26,11 +27,23 @@
<meta <meta
property="og:image" property="og:image"
name="twitter:image" name="twitter:image"
content="%PUBLIC_URL%/og-image.png" content="https://www.excalidraw.com/og-image.pngg"
/> />
<meta property="og:image:width" content="1280" /> <meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="669" /> <meta property="og:image:height" content="669" />
<!-- Twitter Card tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Excalidraw" />
<meta
name="twitter:description"
content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
/>
<meta
name="twitter:image"
content="https://www.excalidraw.com/og-image.png"
/>
<link rel="icon" href="%PUBLIC_URL%/logo.png" /> <link rel="icon" href="%PUBLIC_URL%/logo.png" />
<link <link
rel="preload" rel="preload"