{{define "content"}}{{with .Data}}{{$b := .B}}{{$d := .}}

{{$b.Keyword}}

All briefs

{{if $b.Page}}Rewrite of {{pagePath $b.Page}}{{else}}A new page{{end}} · {{template "brief-status" $b}}{{if $b.Searches}} · {{$b.Searches}} web searches{{end}}{{with $b.Error}} · {{.}}{{end}}

{{with $b.Plan.Finding}}

What the data shows first

{{.}}

{{end}} {{if $b.ShownFor}}

What Google shows it for

{{range $b.ShownFor}}{{end}}
SearchImpressionsClicksPosition
{{.Query}}{{num .Impressions}}{{num .Clicks}}{{dec1 .Position}}
{{end}}

The live top results

    {{range $b.Top}}
  1. {{or .Title .URL}} {{if not .Read}}couldn't be read{{end}}
    {{with .Promises}}Promises: {{.}}. {{end}}{{with .Lacks}}{{.}}{{end}}
  2. {{else}}
  3. None found.
  4. {{end}}

The brief

{{if $b.Plan.Links}}

Internal links: {{range $i, $l := $b.Plan.Links}}{{if $i}} · {{end}}{{pagePath $l.URL}} ({{$l.Why}}){{end}}

{{end}} {{if $b.Plan.Needs}}

Beyond the text, it needs: {{range $i, $n := $b.Plan.Needs}}{{if $i}}; {{end}}{{$n}}{{end}}

{{end}} {{if not $b.Page}}{{end}}

Only you can answer

The page is written around these answers, and claims nothing else. If you didn't test something, say “not tested”: the page will say so.

{{range .Asks}}{{end}}
{{if $b.Draft}}

The page

{{if $b.Claims}}

Sentences that claim an experience

Each one must be true. Tick it if it is; if it isn't, edit or delete it in the page above and save.

{{range $b.Claims}}{{end}} {{else}}

No sentence claims an experience.

{{end}}
{{if or (eq $b.Status "page") (eq $b.Status "failed")}}{{end}}
{{with $b.Note}}

{{.}}

{{end}}
{{end}} {{if or (eq $b.Status "brief") (eq $b.Status "page") (eq $b.Status "failed")}}
{{end}} {{end}}{{end}} {{define "brief-status"}}{{if eq .Status "brief"}}brief: your answers{{else if eq .Status "page"}}page drafted: check it{{else if eq .Status "applying"}}making the pull request…{{else if eq .Status "pr"}}pull request #{{.PRNumber}} ↗{{else if eq .Status "merged"}}merged{{else if eq .Status "live"}}live{{else if eq .Status "failed"}}failed{{end}}{{end}}