Skip to content

Commit b48f2e2

Browse files
bholmesdevoz-agent
andcommitted
SEO/AEO audit: add site URL, robots.txt, structured data, and improved meta descriptions
- Add site: 'https://simple-stack.dev' to astro.config.mjs to enable sitemap and canonical URLs - Create public/robots.txt allowing all crawlers with sitemap reference - Add Organization JSON-LD structured data site-wide via Starlight head config - Improve meta descriptions on all main pages for better AI citation (AEO) Co-Authored-By: Oz <oz-agent@warp.dev>
1 parent 70cb101 commit b48f2e2

6 files changed

Lines changed: 23 additions & 4 deletions

File tree

www/astro.config.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ 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({
78
title: "Simple Stack 🌱",
@@ -43,6 +44,20 @@ export default defineConfig({
4344
"@fontsource/atkinson-hyperlegible/700.css",
4445
"./src/styles/custom.css",
4546
],
47+
head: [
48+
{
49+
tag: "script",
50+
attrs: { type: "application/ld+json" },
51+
content: JSON.stringify({
52+
"@context": "https://schema.org",
53+
"@type": "Organization",
54+
name: "Simple Stack",
55+
url: "https://simple-stack.dev",
56+
logo: "https://simple-stack.dev/favicon.svg",
57+
sameAs: ["https://github.com/bholmesdev/simple-stack"],
58+
}),
59+
},
60+
],
4661
}),
4762
],
4863
});

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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 developer tools for Astro and React, including a reactive store with selectors, scoped IDs for build-time resolution, and a DOM query library for Astro components.
44
tableOfContents: false
55
head:
66
- tag: title

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 is an Astro integration that provides scoped DOM querying with a RootElement wrapper and $() selector. Supports data-target attributes, signal-based state management, and server-to-client data passing.
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 is a Vite plugin that generates deterministic scoped IDs based on the file path, resolved at build-time with zero client JavaScript. Works with Astro, Nuxt, SvelteKit, and any Vite-based 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 is a lightweight reactive state management library for React and vanilla JS. It combines the simplicity of signals with Zustand-style selectors, supports nested sub-stores, middleware, and Next.js SSR out of the box.
44
sidebar:
55
label: Get started
66
order: 1

0 commit comments

Comments
 (0)