A brief for a search (a new page) or a page (a rewrite) starts from what Search Console shows the page for, reads the live top 5 with Claude's web search (unread results marked, never guessed), and gives the title, description, H1, angle, sections, questions, internal links to pages we have, and the questions only the owner can answer. The page is drafted around those answers, with no invented tests, prices or customers; every sentence claiming an experience must be confirmed before a pull request adds or rewrites the page, checked with a Hugo build. Merged pages are followed to the live site. Schema 17. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
3.8 KiB
HTML
56 lines
3.8 KiB
HTML
{{define "content"}}{{with .Data}}{{$d := .}}
|
|
<div class="heading">
|
|
<h1>Next keywords</h1>
|
|
{{if .Current}}<div class="buttons">
|
|
<form method="post" action="/seo/keywords?site={{.Current.Index}}" data-busy="Looking…"><button type="submit" class="secondary">Look for keywords</button></form>
|
|
</div>{{end}}
|
|
</div>
|
|
<p class="lede">Searches your site has no page for yet, from four places: what Google already shows you for but weakly (below page two), your profile's keywords and your customers' problems, your signals' search lines, and the topics your competitors' sites cover. Each is checked against your own pages, so “no page” means no page. Buyer searches (best, price, vs, alternative, hosting…) come first. Search volume and difficulty aren't available; what counts is who you'd have to beat, so read a keyword's live top 3 before you pick it. Then pick one: not ten.</p>
|
|
|
|
{{if not .Sites}}
|
|
<section class="card empty"><p>Add your websites to the <a href="/settings/profile">profile</a> first.</p></section>
|
|
{{else}}
|
|
{{if gt (len .Sites) 1}}<nav class="tabs">{{range .Sites}}<a href="/seo/keywords?site={{.Index}}" {{if eq .Index $d.Current.Index}}aria-current="page"{{end}}>{{.URL}}</a>{{end}}</nav>{{end}}
|
|
|
|
{{with .picked}}
|
|
<h2>Picked</h2>
|
|
{{range .}}{{template "keyword" .}}{{end}}
|
|
{{end}}
|
|
|
|
<h2>Candidates</h2>
|
|
{{with .NoSearch}}<p class="help">Reading the top results needs Claude with web search: {{.}}</p>{{end}}
|
|
{{range .new}}{{template "keyword" .}}{{else}}
|
|
<section class="card empty"><p>No candidates yet. <em>Look for keywords</em> gathers them; it reads your competitors' sitemaps, so it can take a minute.</p></section>
|
|
{{end}}
|
|
|
|
{{with .dismissed}}
|
|
<details><summary>Dismissed ({{len .}})</summary>{{range .}}{{template "keyword" .}}{{end}}</details>
|
|
{{end}}
|
|
{{end}}
|
|
{{end}}{{end}}
|
|
|
|
{{define "keyword"}}
|
|
<section class="card keyword" id="k-{{.ID}}">
|
|
<div class="prospect-head">
|
|
<div>
|
|
<h3>{{.Keyword}} {{if eq .Intent "buyer"}}<span class="badge published">buyer</span>{{end}}</h3>
|
|
<p class="small muted">From {{range $i, $s := .Sources}}{{if $i}}, {{end}}{{$s}}{{end}}.
|
|
{{if .Impressions}}Google already shows you for it: {{num .Impressions}} impressions in 90 days at position {{dec1 .Position}}{{with .ShownOn}}, on <a href="{{.}}" target="_blank" rel="noopener noreferrer">{{pagePath .}}</a>{{end}}.{{end}}
|
|
Volume and difficulty: not available.</p>
|
|
</div>
|
|
<div class="row-actions">
|
|
{{if ne .Status "picked"}}<form method="post" action="/seo/keywords/{{.ID}}/pick"><button type="submit" class="small">Pick this one</button></form>
|
|
{{else}}<form method="post" action="/seo/briefs" data-busy="Writing the brief…"><input type="hidden" name="site_url" value="{{.Site}}"><input type="hidden" name="keyword" value="{{.Keyword}}"><button type="submit" class="small">Write the brief</button></form>{{end}}
|
|
{{if eq .Status "dismissed"}}<form method="post" action="/seo/keywords/{{.ID}}/restore"><button type="submit" class="secondary small">Bring back</button></form>
|
|
{{else}}<form method="post" action="/seo/keywords/{{.ID}}/dismiss"><button type="submit" class="secondary small">Dismiss</button></form>{{end}}
|
|
</div>
|
|
</div>
|
|
{{if .Top}}
|
|
<p class="small"><strong>The live top 3</strong> ({{ago .TopAt}}){{if ge .Hard 0}}: {{if le .Hard 3}}winnable for a small site{{else if le .Hard 6}}a fight{{else}}held by the big ones{{end}}{{end}}</p>
|
|
<ol class="small">{{range .Top}}<li><a href="{{.URL}}" target="_blank" rel="noopener noreferrer">{{.Title}}</a> <span class="badge">{{.Kind}}</span> {{.Note}}</li>{{end}}</ol>
|
|
{{else}}
|
|
<form method="post" action="/seo/keywords/{{.ID}}/top" data-busy="Searching…" class="inline"><button type="submit" class="link small">Read the live top 3 (up to 3 web searches)</button></form>
|
|
{{end}}
|
|
</section>
|
|
{{end}}
|