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>
10 lines
322 B
HTML
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 }}
|