add video to opengraph
deploy / build-and-deploy (push) Successful in 42s

This commit is contained in:
bytedream committed 2026-10-31 01:49:53 +01:00
1 parent 73d4f6af42
commit 30c76a10ab
4 files changed
+35 -13

No files matched your search

+5 -3
View File
@@ -26,12 +26,14 @@ const { title, description, keywords, openGraph, viewTransition } = Astro.props;
<title>{title}</title>
{openGraph && (
<>
<meta name="og:title" content={title} />
<meta property="og:url" content={Astro.url.pathname} />
<meta property="og:title" content={title} />
{description && <meta property="og:description" content={description} />}
<meta property="og:url" content={Astro.url.href} />
<meta property="og:type" content="website" />
<meta property="og:image" content={logo512.src} />
<meta property="og:image" content={new URL(logo512.src, Astro.url).href} />
</>
)}
<slot name="head" />
<meta name="description" content={description} />
{keywords && <meta name="keywords" content={keywords.join(', ')} />}
<base href=`${BASE_PATH}/` />