Skip to content

Commit 637ff8b

Browse files
fix: improve OG meta tags and SEO title/description length
Amp-Thread-ID: https://ampcode.com/threads/T-019ce8b2-11cf-7124-bb47-e6d2cfebdc7a Co-authored-by: Amp <amp@ampcode.com>
1 parent 48dce11 commit 637ff8b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

website/astro.config.mjs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export default defineConfig({
77
site: 'https://aeojs.org',
88
integrations: [
99
aeoAstroIntegration({
10-
title: 'aeo.js',
11-
description: 'Answer Engine Optimization for the modern web. Make your site discoverable by AI crawlers and LLMs.',
10+
title: 'aeo.js — Answer Engine Optimization for the Modern Web',
11+
description: 'Make your website discoverable by ChatGPT, Claude, Perplexity & AI search engines. Auto-generates llms.txt, robots.txt, sitemap, JSON-LD structured data & more.',
1212
url: 'https://aeojs.org',
1313
schema: {
1414
organization: {
@@ -35,8 +35,8 @@ export default defineConfig({
3535
},
3636
}),
3737
starlight({
38-
title: 'aeo.js',
39-
description: 'Answer Engine Optimization for the modern web. Make your site discoverable by AI crawlers and LLMs.',
38+
title: 'aeo.js — Answer Engine Optimization for the Modern Web',
39+
description: 'Make your website discoverable by ChatGPT, Claude, Perplexity & AI search engines. Auto-generates llms.txt, robots.txt, sitemap, JSON-LD structured data & more. Works with Next.js, Astro, Vite, Nuxt & Angular.',
4040
social: [],
4141
components: {
4242
Header: './src/components/Header.astro',
@@ -46,6 +46,10 @@ export default defineConfig({
4646
customCss: ['./src/styles/custom.css'],
4747
head: [
4848
{ tag: 'meta', attrs: { property: 'og:image', content: 'https://aeojs.org/og.png' } },
49+
{ tag: 'meta', attrs: { property: 'og:image:width', content: '1200' } },
50+
{ tag: 'meta', attrs: { property: 'og:image:height', content: '630' } },
51+
{ tag: 'meta', attrs: { property: 'og:image:type', content: 'image/png' } },
52+
{ tag: 'meta', attrs: { name: 'twitter:image', content: 'https://aeojs.org/og.png' } },
4953
],
5054
sidebar: [
5155
{

0 commit comments

Comments
 (0)