Files
reground-site/layouts/index.html
T
will 4445da18bb
deploy / deploy (push) Successful in 4s
Add nav/footer, contact form, privacy/terms drafts, first course landing page
- 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).
2026-07-08 16:41:47 -04:00

11 lines
409 B
HTML

{{ define "main" }}
<h1 style="font-size:2.25rem; margin-bottom:0.5rem;">{{ .Params.hero_heading }}</h1>
<p style="font-size:1.15rem; opacity:0.85; margin-top:0;">{{ .Params.hero_subheading }}</p>
<div style="margin-top:2rem;">{{ .Params.intro | markdownify }}</div>
{{ with .Params.cta_text }}
<p style="margin-top:2rem;">
<a class="btn" href="{{ $.Params.cta_link }}">{{ . }}</a>
</p>
{{ end }}
{{ end }}