From d72fb95703a907c97ba84fb1507b2bd2ca47dbae Mon Sep 17 00:00:00 2001
From: McKayla Washburn
Date: Sat, 18 Jul 2026 23:46:59 -0600
Subject: [PATCH] Update index.astro
---
docs/astro.config.ts | 9 ++++-----
docs/src/pages/index.astro | 30 +++++++++++++-----------------
2 files changed, 17 insertions(+), 22 deletions(-)
diff --git a/docs/astro.config.ts b/docs/astro.config.ts
index 6424cba..d576352 100644
--- a/docs/astro.config.ts
+++ b/docs/astro.config.ts
@@ -1,12 +1,11 @@
import { defineConfig } from "astro/config";
-// Local dev mounts at /, production build mounts under /squill so the same
-// codebase can serve from mckayla.dev/squill without `astro dev` needing to
-// run at /squill/ locally.
-const isProd = process.env.NODE_ENV === "production";
+// Hosted at mckayla.dev/squill/, but using a base locally is inconvenient.
+// Load-bearing trailing / btw (because we use it in a ``)
+const base = process.env.NODE_ENV === "production"? "/squill/" : "/";
export default defineConfig({
site: "https://mckayla.dev",
- base: isProd ? "/squill" : "/",
+ base,
trailingSlash: "ignore",
});
diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro
index aec57a2..100a451 100644
--- a/docs/src/pages/index.astro
+++ b/docs/src/pages/index.astro
@@ -1,5 +1,4 @@
---
-const base = import.meta.env.BASE_URL.replace(/\/$/, "");
const before = `select w.id, w.name, count(*) as build_count from workspaces w join workspace_builds wb on wb.workspace_id = w.id where w.deleted = false and w.last_used_at > NOW() - interval '30 days' group by w.id, w.name order by build_count desc limit 20;
CREATE FUNCTION notify_workspace_change() RETURNS trigger SECURITY DEFINER AS $$ BEGIN PERFORM pg_notify('workspaces', NEW.id::text); RETURN NEW; END; $$ LANGUAGE plpgsql;`;
@@ -46,24 +45,14 @@ const baseHref = import.meta.env.BASE_URL;
-
-
@@ -75,11 +64,19 @@ const baseHref = import.meta.env.BASE_URL;
original bytes untouched. Output is never less correct than input.
- named for the nodding squill — a small wild bloom that leans like a
- weeping lily
+ named for the Siberian squill
+
+
01 — before & after
@@ -340,8 +337,7 @@ squill fmt path/to/queries/
color: #fff;
}
.toolbar-note {
- font-family: "JetBrains Mono", monospace;
- font-size: 0.7rem;
+ font-size: 0.9rem;
color: #8a8296;
}
.chip {
--
2.51.2