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

New pages

Pages for your website built from its own sections: a landing page, a product page, an alternative to a competitor, a comparison, or a blog post. The AI uses only the section types and fields your site already has. You review and edit the page here, preview it on its branch, and open a pull request; merging publishes it.

{{if not .Sites}}

Add your website and its Hugo repository under Settings → Profile first.

{{else}} {{if gt (len .Sites) 1}}{{end}} {{with .Current}}{{$cur := .}} {{if .Err}}

{{.URL}}: {{.Err}}. Set it under Settings → Profile.

{{else}}

A new page

{{if not $d.AI}}

Building pages needs the AI: choose a provider under Settings → AI.

{{end}} {{if not $d.Gitea}}

Supermarket reads the site with your Gitea token: save one under Settings → Search engines.

{{end}}

It reads the site's repository first, so it uses the latest sections. Writing takes a minute or two.

Pages

{{with $d.Pages}}
{{range .}}{{end}}
PageKindStatusStarted
{{or .Title "Untitled"}}
{{.Path}}
{{kindLabel .Kind}} {{template "page-status" .}} {{ago .CreatedAt}}
{{else}}

No pages built yet.

{{end}} {{end}} {{end}} {{end}} {{end}}{{end}}