Frontmatter Solo Starter
Layout stays in code. Content becomes data.
This starter stays inside the Solo contract: deterministic components, scalar props, global CSS, and backend-friendly output.
// Hero.astro props
headline: string
sub?: string
ctaLabel?: string
ctaHref?: string
ctaSecondaryLabel?: string
ctaSecondaryHref?: string
headline: string
sub?: string
ctaLabel?: string
ctaHref?: string
ctaSecondaryLabel?: string
ctaSecondaryHref?: string
component / section
How the handoff works
Each component keeps a simple props contract. Solo generates templates and a variable contract from that structure.
what gets generated
The render pack
01 / pages
Pages
One generated page per Astro route, with explicit layout usage.
02 / partials
Partials
Each deterministic component becomes a readable template partial.
03 / contract
Manifest + integration doc
Generated output documents the variable contract for backend integration.
Twig or plain PHP
Use Twig for Symfony, Drupal, or Craft. Use plain PHP for WordPress or custom backends. Same Astro source. Different output format.
Contact CTA.astro
SCSS or plain CSS
This starter ships with SCSS, but the structure stays simple enough to switch to plain CSS when a backend team wants fewer moving parts.
See styling notes CTA.astro