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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user