Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions www/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,35 @@
import sitemap from "@astrojs/sitemap";
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";

// Canonical site URL β€” required for sitemap, canonical links,
// and the absolute URLs Starlight emits in Open Graph/Twitter meta.
const SITE_URL = "https://simple-stack.dev";

// Site-wide structured data (Organization) for AEO / AI citations.
// Helps ChatGPT, Perplexity, Gemini, and Google AI Overviews
// disambiguate the project as an entity.
const organizationJsonLd = {
"@context": "https://schema.org",
"@type": "Organization",
name: "Simple Stack",
url: SITE_URL,
logo: `${SITE_URL}/favicon.svg`,
description:
"Simple Stack is a suite of small, focused open-source tools for Astro and Vite that simplify common web development workflows.",
sameAs: [
"https://github.com/bholmesdev/simple-stack",
"https://wtw.dev/chat",
],
};

export default defineConfig({
site: SITE_URL,
integrations: [
starlight({
title: "Simple Stack 🌱",
description:
"A suite of small, focused tools for Astro and Vite. Includes Simple Store, Simple Scope, and Simple Query β€” built to simplify your workflow.",
social: [
{
icon: "github",
Expand All @@ -13,6 +38,13 @@ export default defineConfig({
},
{ icon: "discord", label: "Discord", href: "https://wtw.dev/chat" },
],
head: [
{
tag: "script",
attrs: { type: "application/ld+json" },
content: JSON.stringify(organizationJsonLd),
},
],
sidebar: [
{
label: "πŸ’Ύ Store",
Expand Down Expand Up @@ -44,5 +76,6 @@ export default defineConfig({
"./src/styles/custom.css",
],
}),
sitemap(),
],
});
1 change: 1 addition & 0 deletions www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"dependencies": {
"@astrojs/check": "^0.9.6",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/starlight": "^0.37.1",
"@fontsource/atkinson-hyperlegible": "^5.0.18",
"astro": "^5.16.6",
Expand Down
24 changes: 24 additions & 0 deletions www/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# https://simple-stack.dev/robots.txt
User-agent: *
Allow: /

# AI crawlers β€” explicitly allowed for AEO / AI citation visibility.
User-agent: GPTBot
Allow: /

User-agent: OAI-SearchBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

User-agent: ClaudeBot
Allow: /

Sitemap: https://simple-stack.dev/sitemap-index.xml
7 changes: 2 additions & 5 deletions www/src/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: Simple stack 🌱
description: A suite of tools built for Astro to simplify your workflow.
title: Simple Stack β€” small, focused tools for Astro
description: Simple Stack is a suite of small, focused open-source tools for Astro and Vite. Includes Simple Store, Simple Scope, and Simple Query β€” built to simplify common web development workflows.
tableOfContents: false
head:
- tag: title
content: Simple stack 🌱
---

A collection of tools I've built to **make web development simpler.**
Expand Down
Loading