This commit is contained in:
rustdesk
2025-08-12 00:31:49 +08:00
parent 82ef035eb5
commit a4a1441699
50 changed files with 182 additions and 38 deletions

View File

@@ -20,6 +20,8 @@ const {
canonical = String(getCanonical(String(Astro.url.pathname))),
robots = {},
description,
keywords,
author,
openGraph = {},
twitter = {},
} = Astro.props;
@@ -66,3 +68,7 @@ const seoProps: AstroSeoProps = merge(
---
<AstroSeo {...{ ...seoProps, openGraph: await adaptOpenGraphImages(seoProps?.openGraph, Astro.site) }} />
<!-- Additional SEO meta tags -->
{keywords && <meta name="keywords" content={keywords} />}
{author && <meta name="author" content={author} />}