update opengraph
deploy / build-and-deploy (push) Successful in 40s

This commit is contained in:
bytedream committed 2026-10-31 02:08:46 +01:00
1 parent 30c76a10ab
commit 45b5af9254
2 files changed
+6 -8

No files matched your search

+2 -2
View File
@@ -28,9 +28,9 @@ const { title, description, keywords, openGraph, viewTransition } = Astro.props;
<>
<meta property="og:title" content={title} />
{description && <meta property="og:description" content={description} />}
<meta property="og:url" content={Astro.url.href} />
<meta property="og:url" content={Astro.url.pathname} />
<meta property="og:type" content="website" />
<meta property="og:image" content={new URL(logo512.src, Astro.url).href} />
<meta property="og:image" content={logo512.src} />
</>
)}
<slot name="head" />