Phase 5 part 4: landing pages per buying signal

Each signal's page lists its landing pages with their Gitea status, live
address and 30-day visitors from Plausible, and builds a new one. Pages
can be duplicated as variants (B, C…, with their own utm_content), taken
off the site through a pull request that deletes the file, or have their
pull request closed. The scorecard counts live pages. Schema 23.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 14:19:55 -07:00
co-authored by Claude Opus 5.5
parent 11b80b6461
commit 062fcf2e59
17 changed files with 674 additions and 33 deletions
+6
View File
@@ -596,6 +596,12 @@ CREATE TABLE site_pages (
merged_at TEXT
);
CREATE INDEX site_pages_by_site ON site_pages (site, created_at);
`,
// 23: taking a published page off the site, through its own pull request.
`
ALTER TABLE site_pages ADD COLUMN removal_branch TEXT NOT NULL DEFAULT '';
ALTER TABLE site_pages ADD COLUMN removal_pr_number INTEGER NOT NULL DEFAULT 0;
ALTER TABLE site_pages ADD COLUMN removal_pr_url TEXT NOT NULL DEFAULT '';
`,
}