Move seed.sql out of migrations and add SEO structured data
- Relocate seed.sql to scripts/ so wrangler d1 migrations apply doesn't treat it as a migration; update package.json, setup.mjs, README, and all AGENTS.md references. - Add src/lib/schema-org.ts builders (LocalBusiness, FAQPage, BlogPosting, BreadcrumbList) and emit JSON-LD via Base.astro. - Add lastmod to sitemap entries. - Set real site domain, worker route, and D1/KV ids. - Improve image loading hints and heading semantics across site components; switch BlogIndex to client:idle.
This commit is contained in:
+11
-12
@@ -3,18 +3,17 @@ import cloudflare from "@astrojs/cloudflare";
|
||||
import react from "@astrojs/react";
|
||||
|
||||
export default defineConfig({
|
||||
integrations: [react()],
|
||||
// ⚠️ 上線前改咗呢個做你嘅真域名(sitemap、canonical、OG 全部靠佢)
|
||||
site: "https://solar.develop-cat.com",
|
||||
|
||||
integrations: [react()],
|
||||
// ⚠️ 上線前改咗呢個做你嘅真域名(sitemap、canonical、OG 全部靠佢)
|
||||
site: "https://example.com",
|
||||
output: "static",
|
||||
|
||||
output: "static",
|
||||
|
||||
adapter: cloudflare({
|
||||
platformProxy: {
|
||||
enabled: true,
|
||||
// 本機 astro dev 時讀 wrangler.jsonc 嘅 bindings
|
||||
configPath: "./wrangler.jsonc",
|
||||
},
|
||||
}),
|
||||
adapter: cloudflare({
|
||||
platformProxy: {
|
||||
enabled: true,
|
||||
// 本機 astro dev 時讀 wrangler.jsonc 嘅 bindings
|
||||
configPath: "./wrangler.jsonc",
|
||||
},
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user