Files
davidandClaude Opus 5.5 5d7db5c5bf Phase 6 part 5, step 1: a shared site theme
internal/theme embeds a Hugo theme from federated-website's look and the
13 section types both sites share, with the header, footer, colors, font
and logo set per site in hugo.toml, and a README of each type's fields.
The catalogue reader reads themes' sections and READMEs after the site's
own; lead forms know a theme site needs only the Lead Capture address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:14:24 -07:00

10 lines
322 B
HTML

{{ range .Params.sections }}
{{ if eq .type "hero" }}
{{ partial "sections/hero.html" . }}
{{ else if eq .type "final-cta" }}
{{ partial "sections/final-cta.html" . }}
{{ else if templates.Exists (printf "partials/sections/%s.html" .type) }}
{{ partial "sections/wrapper.html" . }}
{{ end }}
{{ end }}