A Astro blog hosted on Vercel

add extra meta tags for open graph images

authored by Clayton Cook and committed by Clay a6a78645 1b5d0ebe

Changed files
+4 -1
src
components
organisms
+4 -1
src/components/organisms/Head.astro
··· 61 61 { 62 62 image && ( 63 63 <meta property="og:image" content={new URL(image.src, Astro.url)} /> 64 - <meta property="og:image:type" content="image/webp" /> 64 + <meta property="og:image:url" content={new URL(image.src, Astro.url)} /> 65 + <meta property="og:image:type" content={`image/${image.format}`} /> 66 + <meta property="og:image:width" content={image.width.toString()} /> 67 + <meta property="og:image:height" content={image.height.toString()} /> 65 68 <meta property="og:image:alt" content={description} /> 66 69 ) 67 70 }