diff --git a/packages/website/src/layouts/DocsLayout.astro b/packages/website/src/layouts/DocsLayout.astro index 209f8f6..89db2df 100644 --- a/packages/website/src/layouts/DocsLayout.astro +++ b/packages/website/src/layouts/DocsLayout.astro @@ -8,47 +8,131 @@ interface Props { const { title, description } = Astro.props; const currentPath = Astro.url.pathname; +const fullDescription = description || 'AI Terminal Assistant 文档'; +const canonicalURL = Astro.site ? new URL(Astro.url.pathname, Astro.site) : Astro.url; --- - + - - + + {title} - AI Terminal Assistant + + + + + + + + + + + + + + + + + - +
- -