Phase 7 part 3: suggestions from the funnel

A new package, next, finds the pages the funnel asks for: a landing page
for a signal with replies or interested people in 90 days and none yet;
a product or alternative page for an app two or more people name in
their replies (outreach email, origami.chat, explee.com) that the site
has no page for; and picked keywords with no brief, briefs left
unanswered. Sites → New pages can be filled in from a link (kind,
signal, notes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-24 07:13:38 -07:00
co-authored by Claude Opus 5.5
parent 77f6e1e1d1
commit 855615ae7f
4 changed files with 428 additions and 4 deletions
+3
View File
@@ -149,6 +149,9 @@ func (s *Server) sitePagesPage(w http.ResponseWriter, r *http.Request) {
func (s *Server) renderSitePages(w http.ResponseWriter, r *http.Request, errMsg string) {
all, cur := s.currentSite(r)
data := map[string]any{"Sites": all, "Current": cur, "Kinds": sites.Kinds, "Gitea": s.gitea() != nil}
// A suggestion (SEO → Next) can fill the form in: kind, signal, notes.
q := r.URL.Query()
data["Pre"] = map[string]string{"Kind": q.Get("kind"), "Signal": q.Get("signal"), "Notes": q.Get("notes")}
if cur != nil && cur.Repo != "" {
ps, err := sites.Pages(s.DB, cur.URL)
if err != nil {