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
+17
View File
@@ -33,6 +33,23 @@ var Kinds = []struct{ ID, Label, Guide string }{
"A side-by-side \"<us> vs <competitor>\" page: a short verdict, a comparison table, who each one is best for (honestly, including when the competitor fits better), an FAQ, a call to action. Say only what you're given about the competitor."},
{"blog", "Blog post",
"A blog post that teaches something useful to our customers, mostly text sections, ending with one call to action."},
{"home", "Home page",
"The site's home page (it replaces the current one): what the company does and for whom in the hero, its products or services, why choose it, proof it really has, and a call to action, ending with the closing band."},
{"about", "About page",
"An about page: who the company is, what it believes, how it works, where it is; only facts given here. It joins the top menu."},
{"contact", "Contact page",
"A contact page built around the site's lead form (the form section): a short heading, what happens after someone writes, the form with name, email, organization and a message, and other ways to reach the company. It joins the top menu."},
}
// menuWeight is where a kind of page goes in the top menu (0: not in it).
func menuWeight(kind string) int {
switch kind {
case "about":
return 80
case "contact":
return 90
}
return 0
}
// KindLabel is a kind's name for people.