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

Monday report

{{if .Current}}
{{end}}

One page, the same every week, so this Monday compares with the last in seconds: three numbers, the three pages that moved most, and the changes waiting for your yes. It's written every Monday{{if .Current}}, and can be emailed to you (Settings → Search engines){{end}}.

{{template "seo-sites" .}} {{if .Current}} {{with .Report}}

{{.WeekFrom}} to {{.WeekTo}}, against the week before · written {{ago .CreatedAt}}

1. The week

Clicks{{num .After.Clicks}}was {{num .Before.Clicks}}
Impressions{{num .After.Impressions}}was {{num .Before.Impressions}}
Position{{dec1 .After.Position}}was {{dec1 .Before.Position}}

{{.Where}}

2. The pages that moved most

{{range .Pages}}

{{pagePath .Key}}: clicks {{num .Before.Clicks}} → {{num .After.Clicks}}, position {{dec1 .Before.Position}} → {{dec1 .After.Position}} {{with .Why}}
{{range .}}{{.}} {{end}}{{end}}

{{else}}

No page moved.

{{end}}

3. Waiting for your yes

{{range .Waiting}}

{{pagePath .Page}}
{{.Why}}

{{else}}

Nothing is waiting: no change has been proposed.

{{end}} {{if .Waiting}}

Say yes or no to each on Changes: a yes opens a pull request.

{{end}} {{with .Candidates}}

Worth a proposal

{{range .}}

{{pagePath .Page}}
{{.Why}}

{{end}}

Propose changes on Changes writes new wording for pages like these.

{{end}}
{{else}}

No report yet. It's written on Monday once there are two weeks of data, or now with Write it now.

{{end}} {{if gt (len .Reports) 1}}

Earlier reports

{{range .Reports}}{{end}}
Week toClicksImpressionsPosition
{{.WeekTo}}{{num .After.Clicks}}{{num .After.Impressions}}{{dec1 .After.Position}}
{{end}} {{end}} {{end}}{{end}}