feat: Add SEO/AEO/Geo improvements
- Add ai.txt and llms.txt endpoints for AI/LLM discoverability - Enhance metadata across all pages (canonical URLs, OpenGraph, Twitter) - Add structured data (JSON-LD) to blog index, tag pages - Update robots.txt with AI crawler rules - Improve BlogPosting and CollectionPage schemas
This commit is contained in:
@@ -32,22 +32,44 @@ export const metadata: Metadata = {
|
||||
},
|
||||
description: siteConfig.description,
|
||||
metadataBase: new URL(siteConfig.url),
|
||||
creator: siteConfig.author,
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
googleBot: {
|
||||
index: true,
|
||||
follow: true,
|
||||
'max-video-preview': -1,
|
||||
'max-image-preview': 'large',
|
||||
'max-snippet': -1
|
||||
}
|
||||
},
|
||||
openGraph: {
|
||||
type: 'website',
|
||||
title: siteConfig.title,
|
||||
description: siteConfig.description,
|
||||
url: siteConfig.url,
|
||||
siteName: siteConfig.title,
|
||||
images: [siteConfig.ogImage]
|
||||
locale: siteConfig.defaultLocale,
|
||||
images: [
|
||||
{
|
||||
url: siteConfig.ogImage,
|
||||
width: 1200,
|
||||
height: 630,
|
||||
alt: siteConfig.title
|
||||
}
|
||||
]
|
||||
},
|
||||
twitter: {
|
||||
card: siteConfig.twitterCard,
|
||||
site: siteConfig.social.twitter || undefined,
|
||||
creator: siteConfig.social.twitter || undefined,
|
||||
title: siteConfig.title,
|
||||
description: siteConfig.description,
|
||||
images: [siteConfig.ogImage]
|
||||
},
|
||||
icons: {
|
||||
icon: '/favicon.png'
|
||||
icon: '/favicon.png',
|
||||
apple: '/favicon.png'
|
||||
},
|
||||
alternates: {
|
||||
types: {
|
||||
|
||||
Reference in New Issue
Block a user