{{define "content"}}{{with .Data}}{{$d := .}}
Each change is one page's new title or description, with the number that pays for it. Say yes or no, one at a time: a yes opens a pull request on the site's Gitea repository, checked with a Hugo build. Nothing is published until you merge it. Then Supermarket checks the live page and compares the page's Search Console numbers before and after.
{{if not .Sites}}Add your websites to the profile first.
Before a yes can open a pull request: {{if not .Gitea}}save a Gitea token under Settings → Search engines{{end}}{{if and (not .Gitea) (not .Repo)}}, and {{end}}{{if not .Repo}}set this website's Hugo repository in the profile{{end}}. You can propose and read changes already.
{{.Why}}
Nothing waiting. Propose changes writes up to {{.Max}}, for the pages on page one that aren't clicked and the audit's title and description issues.
| Page | Change | Status |
|---|---|---|
| {{pagePath .Page}} | {{with .NewTitle}}Title: “{{.}}” {{end}}{{with .NewDescription}}Description: “{{truncate 120 .}}”{{end}} |
{{if eq .Status "applying"}}making the pull request…
{{else if eq .Status "pr"}}pull request #{{.PRNumber}} open ↗ {{.Note}} {{else if eq .Status "merged"}}merged {{ago .MergedAt}} waiting to see it on the live site {{else if eq .Status "failed"}}failed {{.Error}} {{end}} {{with .Diff}} The diff{{.}} |
| Page | Change | Before → after |
|---|---|---|
| {{pagePath .Page}} | {{with .NewTitle}}Title: “{{.}}” {{end}}{{with .NewDescription}}Description: “{{truncate 120 .}}”{{end}} |
{{if eq .Status "live"}}Live since {{ago .LiveAt}}.
{{with .Impact}} {{.Days}} days each side: clicks {{num .Before.Clicks}} → {{num .After.Clicks}}, impressions {{num .Before.Impressions}} → {{num .After.Impressions}}, click rate {{dec1 .Before.CTR}}% → {{dec1 .After.CTR}}%, position {{dec1 .Before.Position}} → {{dec1 .After.Position}}. Correlation, not proof; a title shows its effect in one to two weeks.{{else}} The numbers after need 3 days of final Search Console data.{{end}} {{else if eq .Status "declined"}}You said no {{ago .DecidedAt}}. {{else if eq .Status "closed"}}The pull request was closed without merging.{{end}} |