{{ template "head" . }}

Welcome to SEOnaut

{{ $projects := len .Data.Projects }} {{ if eq $projects 0 }} You don't have any project yet. {{ else if eq $projects 1}} You currently have one project. {{ else }} You currently have {{ $projects }} projects. {{ end }}

{{ if eq (len .Data.Projects) 0 }}
We Crawlable Websites

Add your first project to gain insights about your website.

{{ end }} {{ range .Data.Projects }}

{{ .Project.URL }}

{{ if .Project.Deleting }}

Deleting project.
This can take a few minutes, please wait...

{{ else if (and .Crawl.Id (not .Crawl.Crawling)) }} {{ if eq .Crawl.TotalURLs 0 }}

The SEOnaut bot was unable to access your website. Check that the URL is correct and not blocked by the Robots settings or Basic HTTP Authentication.

{{ end }} {{ end }}
{{ if (and (not .Project.Deleting) (or (not .Crawl.Id) (and .Crawl.Id (not .Crawl.Crawling)))) }}

{{ end }}
{{ if (and (not .Project.Deleting) (and .Crawl.Id (not .Crawl.Crawling))) }}
Crawled on {{ .Crawl.Start.Format "Jan 02, 2006" }}.
{{ end }}
{{ if (not .Project.Deleting) }}
{{ if gt .Crawl.TotalURLs 0 }} {{ if (and .Crawl.Id (not .Crawl.Crawling)) }} Dashboard Site Issues Page Details Data Export {{ end }} {{ end }} {{ if (or (not .Crawl.Id) (and .Crawl.Id (not .Crawl.Crawling))) }}

Crawl Now

{{ else if (and .Crawl.Id .Crawl.Crawling) }} Crawling... {{ end }}
{{ end }}
{{ end }}
{{ template "footer" . }}