Add nav/footer, contact form, privacy/terms drafts, first course landing page
deploy / deploy (push) Successful in 4s
deploy / deploy (push) Successful in 4s
- baseof.html: proper header/nav/footer, CSS custom properties for light/dark, button and form component styles — no external theme dependency, avoiding the submodule/version churn from the earlier PaperMod attempt. - Contact page: real form (honeypot spam protection) posting to the eec service's new /contact endpoint, replacing the plain mailto CTA. - Privacy Policy and Terms drafts — grounded in what's actually true here (self-hosted mail/course infra, no third-party trackers), flagged as drafts pending review. - courses/ section with a generic single template driven by front matter (eec_slug, pitch) and the first course, Find Your Right Readers — landing page only; the actual course content isn't authored in eec-courses yet, so enrolling will 404 until that's written. - Fixed hugo.toml baseURL (was www.reground.org, but Caddy's canonical host is the bare domain — www redirects to it, not the other way).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
baseURL = "https://www.reground.org/"
|
||||
baseURL = "https://reground.org/"
|
||||
locale = "en-US"
|
||||
title = "ReGround"
|
||||
|
||||
@@ -12,7 +12,29 @@ disableKinds = ["taxonomy", "term"]
|
||||
env = "production"
|
||||
description = "ReGround helps fiction authors find the readers who were always meant to find them."
|
||||
author = "Will Estes"
|
||||
eec_base_url = "https://eec.reground.org"
|
||||
|
||||
# Menu is intentionally minimal for now — add Blog/About/Contact
|
||||
# entries here as those sections come online.
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
name = "Courses"
|
||||
url = "/courses/"
|
||||
weight = 10
|
||||
|
||||
[[menu.main]]
|
||||
name = "Contact"
|
||||
url = "/contact/"
|
||||
weight = 20
|
||||
|
||||
[[menu.footer]]
|
||||
name = "Contact"
|
||||
url = "/contact/"
|
||||
weight = 10
|
||||
|
||||
[[menu.footer]]
|
||||
name = "Privacy"
|
||||
url = "/privacy/"
|
||||
weight = 20
|
||||
|
||||
[[menu.footer]]
|
||||
name = "Terms"
|
||||
url = "/terms/"
|
||||
weight = 30
|
||||
|
||||
Reference in New Issue
Block a user