]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
add other meta properties
authorCameron Otsuka <cameron@otsuka.haus>
Thu, 16 Apr 2026 03:45:20 +0000 (23:45 -0400)
committerCameron Otsuka <cameron@otsuka.haus>
Thu, 16 Apr 2026 03:45:20 +0000 (23:45 -0400)
src/components/head/base.astro

index 86b92531d200d743c3d89a0d7d882934b7b52881..71c684c1af9c9a1c9ba74ab5e53af19067e40023 100644 (file)
@@ -40,6 +40,8 @@ const { title, description } = Astro.props;
 <meta
   name="description"
   property="og:description"
+  property="og:image:alt"
+  property="twitter:image:alt"
   content={description}
   data-pagefind-meta="description[content]"
 />
@@ -53,6 +55,7 @@ const { title, description } = Astro.props;
 <meta
   name="twitter:image"
   property="og:image"
+  property="og:image:secure_url"
   content={new URL('opengraph.png', canonicalURL)}
   data-pagefind-default-meta="image[content]"
 />