Skip to main content

Static site generators

Put the markup in a template​

Create a reusable component, include, or partial in the language your site generator uses. Raw markup inside Markdown may be stripped by your build pipeline. Put the form directly in a template if it disappears from the final output.

Inspect the build​

Check the generated HTML for the action, fields, and public key. If the generator changes IDs or duplicates a component, give each rendered copy independent labels and IDs.

Publish and test​

Deploy the output to your static host and submit from the published URL. Use the published hostname in form settings when an allowlist is enabled.