{{define "content"}}{{with .Data}}{{$d := .}}
What Google and Bing know about the site, and IndexNow, which tells Bing and other engines the moment a page changes, so they don't wait for their next crawl. Google doesn't use IndexNow; it reads the sitemap.
{{if not .Sites}}Add your websites to the profile first.
One pull request that adds what's missing: the IndexNow key file, a robots.txt that names the sitemap (unless the site has its own), and the sitemap itself if the Hugo config turns it off. A Hugo build checks all three come out.
Last try, {{ago .At}}: {{.Error}}
{{else}}Opened {{ago .At}}: pull request #{{.PRNumber}} ↗. {{range .Done}}{{.}} {{end}}
{{.Note}}
Key {{.Key}}, published at {{.KeyURL}}:
{{if .KeyLive}}the site serves it. Pages that go live through Changes or Briefs are submitted on their own.
{{else}}not on the site yet. Merge the setup pull request above; until then nothing is submitted.{{end}}
| When | Pages | Result |
|---|---|---|
| {{ago .At}} | {{range .URLs}}{{pagePath .}} {{end}} | {{if .Error}}{{.Error}}{{else}}accepted ({{.Status}}){{end}} |
Connect Search Console and choose this website's property under Settings → Search engines.
{{else if .SitemapsErr}}{{.SitemapsErr}}
{{else if .Sitemaps}}| Sitemap | Submitted | Last read | Pages | Problems |
|---|---|---|---|---|
| {{.Path}} | {{with .LastSubmitted}}{{ago .}}{{end}} | {{with .LastDownloaded}}{{ago .}}{{else}}{{if .IsPending}}pending{{end}}{{end}} | {{range .Contents}}{{if eq .Type "web"}}{{.Submitted}}{{end}}{{end}} | {{if or (ne .Errors "0") (ne .Warnings "0")}}errors: {{.Errors}}, warnings: {{.Warnings}}{{else}}none{{end}} |
Google has no sitemap for this site. Once the site has one, submit it in Search Console (Indexing → Sitemaps): Supermarket's access is read-only.
{{end}}Save a Bing Webmaster API key under Settings → Search engines to see Bing's numbers.
{{else if .BingErr}}{{.BingErr}} (site: {{.BingSite}})
{{else}} {{if .BingDays}}| Week of | Clicks | Impressions |
|---|---|---|
| {{.Date.Format "2 Jan 2006"}} | {{num .Clicks}} | {{num .Impressions}} |
No traffic data from Bing yet.
{{end}} {{if .BingQueries}}| Search | Impressions | Clicks | Position |
|---|---|---|---|
| {{.Query}} | {{num .Impressions}} | {{num .Clicks}} | {{dec1 .Position}} |
None.
{{end}} {{end}}