Skip to content

Commit edc0368

Browse files
bholmesdevoz-agent
andcommitted
feat(www): SEO/AEO improvements — site URL, robots.txt, structured data, clean titles
- Add site URL (https://simple-stack.dev) to astro.config.mjs to enable sitemap generation, canonical URLs, and absolute URL resolution - Add robots.txt allowing all crawlers with sitemap reference - Add Open Graph meta tags (og:type, og:site_name) site-wide - Add Organization JSON-LD structured data site-wide - Add WebSite JSON-LD structured data on homepage - Remove emojis from page title frontmatter for cleaner SERP display (emojis remain in sidebar labels for visual navigation) - Improve homepage title for SEO Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 70cb101 commit edc0368

7 files changed

Lines changed: 40 additions & 7 deletions

File tree

www/astro.config.mjs

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import starlight from "@astrojs/starlight";
22
import { defineConfig } from "astro/config";
33

44
export default defineConfig({
5+
site: "https://simple-stack.dev",
56
integrations: [
67
starlight({
7-
title: "Simple Stack 🌱",
8+
title: "Simple Stack",
89
social: [
910
{
1011
icon: "github",
@@ -13,6 +14,30 @@ export default defineConfig({
1314
},
1415
{ icon: "discord", label: "Discord", href: "https://wtw.dev/chat" },
1516
],
17+
head: [
18+
{
19+
tag: "meta",
20+
attrs: { property: "og:type", content: "website" },
21+
},
22+
{
23+
tag: "meta",
24+
attrs: { property: "og:site_name", content: "Simple Stack" },
25+
},
26+
{
27+
tag: "script",
28+
attrs: { type: "application/ld+json" },
29+
content: JSON.stringify({
30+
"@context": "https://schema.org",
31+
"@type": "Organization",
32+
name: "Simple Stack",
33+
url: "https://simple-stack.dev",
34+
logo: "https://simple-stack.dev/favicon.svg",
35+
sameAs: [
36+
"https://github.com/bholmesdev/simple-stack",
37+
],
38+
}),
39+
},
40+
],
1641
sidebar: [
1742
{
1843
label: "💾 Store",

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://simple-stack.dev/sitemap-index.xml

www/src/content/docs/index.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
---
2-
title: Simple stack 🌱
2+
title: Simple Stack — Lightweight Tools for Astro & Vite
33
description: A suite of tools built for Astro to simplify your workflow.
44
tableOfContents: false
55
head:
66
- tag: title
7-
content: Simple stack 🌱
7+
content: Simple Stack — Lightweight Tools for Astro & Vite
8+
- tag: script
9+
attrs:
10+
type: application/ld+json
11+
content: '{"@context":"https://schema.org","@type":"WebSite","name":"Simple Stack","url":"https://simple-stack.dev","description":"A suite of tools built for Astro to simplify your workflow."}'
812
---
913

1014
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,5 +1,5 @@
11
---
2-
title: 💰 Simple Query
2+
title: Simple Query
33
description: A simple library to query the DOM from your Astro components.
44
---
55

www/src/content/docs/scope.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 🔎 Simple scope
2+
title: Simple Scope
33
description: Get a scoped ID for whatever file you're in. Resolved at build-time with zero client JS.
44
---
55

www/src/content/docs/store.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 💾 Simple store
2+
title: Simple Store
33
description: A reactive store that combines the simplicity of signals with the power of "selectors" you'd find in Zustand or Redux.
44
sidebar:
55
label: Get started

www/src/content/docs/stream.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Simple stream 🌊
2+
title: Simple Stream
33
description: Suspend Astro components with fallback content. Like React Server Components, but Just HTML ™️
44
---
55

0 commit comments

Comments
 (0)