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;
-
-
squill
- A robust, friendly, flexible SQL code formatter for everywhere.
+ A robust, friendly, and flexible SQL code formatter for
+ everywhere.
@@ -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