mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2026-08-10 18:11:16 +10:00
Enhance SEO and social metadata for documentation homepage (#4923)
* Add SEO metadata to docs home Add a robots.txt sitemap directive and JSON-LD SoftwareApplication metadata to the docs homepage to improve search engine discovery and rich results. * Add social preview metadata Add Open Graph and Twitter image metadata for the docs site and include a new shared social preview image. Also set the homepage title metadata to match the documentation branding.
This commit is contained in:
@@ -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' },
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://winutil.christitus.com/sitemap-index.xml
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user