Skip to content

Commit 0f3edd4

Browse files
bholmesdevoz-agent
andcommitted
feat(www): SEO/AEO audit improvements
- Add site URL to astro.config.mjs for canonical URLs, OG meta, and sitemap - Add Organization JSON-LD structured data via Starlight head config - Add robots.txt with sitemap reference - Remove duplicate title tag override on homepage - Improve meta descriptions for Store, Scope, Query, and homepage - Add noindex to deprecated pages (Stream, Form) to avoid diluting relevance Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 70cb101 commit 0f3edd4

File tree

10 files changed

+50
-10
lines changed

10 files changed

+50
-10
lines changed

www/astro.config.mjs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,28 @@ import starlight from "@astrojs/starlight";
22
import { defineConfig } from "astro/config";
33

44
export default defineConfig({
5+
site: "https://simplestack.dev",
56
integrations: [
67
starlight({
78
title: "Simple Stack 🌱",
9+
description:
10+
"A suite of lightweight tools for Astro, React, and Vite. Simplify state management, DOM queries, scoped IDs, and more.",
11+
head: [
12+
{
13+
tag: "script",
14+
attrs: { type: "application/ld+json" },
15+
content: JSON.stringify({
16+
"@context": "https://schema.org",
17+
"@type": "Organization",
18+
name: "Simple Stack",
19+
url: "https://simplestack.dev",
20+
logo: "https://simplestack.dev/favicon.svg",
21+
sameAs: [
22+
"https://github.com/bholmesdev/simple-stack",
23+
],
24+
}),
25+
},
26+
],
827
social: [
928
{
1029
icon: "github",

www/public/robots.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: https://simplestack.dev/sitemap-index.xml

www/src/content/docs/form/client.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
---
2-
title: Add client validation
2+
title: Add client validation
33
description: Add client validation to your forms
44
sidebar:
55
order: 3
6+
head:
7+
- tag: meta
8+
attrs:
9+
name: robots
10+
content: "noindex, follow"
611
---
712

813
:::caution

www/src/content/docs/form/index.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
title: Simple form
3-
description: The simple way to validate forms in your fullstack app.
3+
description: The simple way to validate forms in your fullstack app.
44
sidebar:
55
label: Get started
66
order: 1
7+
head:
8+
- tag: meta
9+
attrs:
10+
name: robots
11+
content: "noindex, follow"
712
---
813

914
import { Tabs, TabItem } from '@astrojs/starlight/components';

www/src/content/docs/form/parse.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
---
2-
title: Parse form requests
2+
title: Parse form requests
33
description: Validate forms server-side
44
sidebar:
55
order: 2
6+
head:
7+
- tag: meta
8+
attrs:
9+
name: robots
10+
content: "noindex, follow"
611
---
712

813
:::caution

www/src/content/docs/index.mdx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
---
22
title: Simple stack 🌱
3-
description: A suite of tools built for Astro to simplify your workflow.
3+
description: Simple Stack is a collection of lightweight tools for Astro, React, and Vite that simplify state management, DOM queries, and scoped IDs.
44
tableOfContents: false
5-
head:
6-
- tag: title
7-
content: Simple stack 🌱
85
---
96

107
A collection of tools I've built to **make web development simpler.**

www/src/content/docs/query.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 💰 Simple Query
3-
description: A simple library to query the DOM from your Astro components.
3+
description: "Simple Query: a lightweight DOM query library for Astro components. Scope selectors, pass server data to scripts, and use signals for reactive state."
44
---
55

66
import { Tabs, TabItem, LinkCard } from '@astrojs/starlight/components';

www/src/content/docs/scope.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 🔎 Simple scope
3-
description: Get a scoped ID for whatever file you're in. Resolved at build-time with zero client JS.
3+
description: "Simple Scope: a Vite plugin that generates scoped element IDs at build-time with zero client JS. Works with Astro, Nuxt, SvelteKit, and any Vite framework."
44
---
55

66
import { LinkCard } from '@astrojs/starlight/components';

www/src/content/docs/store.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 💾 Simple store
3-
description: A reactive store that combines the simplicity of signals with the power of "selectors" you'd find in Zustand or Redux.
3+
description: "Simple Store: a lightweight reactive store for React and Vite that combines the simplicity of signals with the power of selectors from Zustand or Redux."
44
sidebar:
55
label: Get started
66
order: 1

www/src/content/docs/stream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---
22
title: Simple stream 🌊
33
description: Suspend Astro components with fallback content. Like React Server Components, but Just HTML ™️
4+
head:
5+
- tag: meta
6+
attrs:
7+
name: robots
8+
content: "noindex, follow"
49
---
510

611
:::caution

0 commit comments

Comments
 (0)