diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index e4116184..54409bae 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -15,6 +15,12 @@ export default defineConfig({ replacesTitle: true, }, favicon: '/favicon.svg', + head: [ + { tag: 'meta', attrs: { property: 'og:image', content: 'https://winutil.christitus.com/social-preview.png' } }, + { tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } }, + { tag: 'meta', attrs: { property: 'og:image:height', content: '630' } }, + { tag: 'meta', attrs: { name: 'twitter:image', content: 'https://winutil.christitus.com/social-preview.png' } }, + ], social: [ { icon: 'github', label: 'GitHub', href: 'https://github.com/ChrisTitusTech/winutil' }, { icon: 'discord', label: 'Discord', href: 'https://discord.gg/RUbZUZyByQ' }, diff --git a/docs/public/robots.txt b/docs/public/robots.txt new file mode 100644 index 00000000..4b092e62 --- /dev/null +++ b/docs/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://winutil.christitus.com/sitemap-index.xml diff --git a/docs/public/social-preview.png b/docs/public/social-preview.png new file mode 100644 index 00000000..d80f4eb5 Binary files /dev/null and b/docs/public/social-preview.png differ diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx index c56573aa..fdded475 100644 --- a/docs/src/content/docs/index.mdx +++ b/docs/src/content/docs/index.mdx @@ -27,6 +27,38 @@ hero: link: https://github.com/ChrisTitusTech/winutil icon: external variant: secondary +head: + - tag: meta + attrs: + property: og:title + content: Documentation | WinUtil + - tag: meta + attrs: + name: twitter:title + content: Documentation | WinUtil + - tag: script + attrs: + type: application/ld+json + content: | + { + "@context": "https://schema.org", + "@type": "SoftwareApplication", + "name": "WinUtil", + "description": "Chris Titus Tech's Windows Utility — install apps, apply tweaks, run fixes, and manage Windows from one place.", + "url": "https://winutil.christitus.com/", + "downloadUrl": "https://github.com/ChrisTitusTech/winutil", + "operatingSystem": "Windows", + "applicationCategory": "UtilitiesApplication", + "offers": { + "@type": "Offer", + "price": "0", + "priceCurrency": "USD" + }, + "author": { + "@type": "Person", + "name": "Chris Titus Tech" + } + } --- import { Icon, Code } from '@astrojs/starlight/components';