Phase 6 part 5, step 2: start a new site

Sites → New site fills an empty Gitea repository with the theme, a
hugo.toml in the site's brand and a starter home page: checked that the
repository is empty and builds with Hugo, then the first commit is pushed
to its default branch. The site joins the profile, and a First pages card
builds its Home, About, Contact and product pages with the page builder;
About and Contact join the top menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 15:27:22 -07:00
co-authored by Claude Opus 5.5
parent 5d7db5c5bf
commit 9ca09c1ffa
18 changed files with 709 additions and 7 deletions
+1
View File
@@ -96,6 +96,7 @@ type Repo struct {
DefaultBranch string `json:"default_branch"`
CloneURL string `json:"clone_url"`
HTMLURL string `json:"html_url"`
Empty bool `json:"empty"` // no commits yet
Permissions struct {
Push bool `json:"push"`
} `json:"permissions"`