Formspree makes it easy to receive submissions from HTML forms on your static website.
This theme has a form-to-email feature built in, thanks to the simple Formspree integration. All you need to activate the form is a valid recipient email address saved in the front matter of the form
/content/forms/contact.md). Of course, the example shown below (
email@example.com) must not be used. Please use your actual email address.
# please replace with a valid Formspree form id or email address formspree_form_id: firstname.lastname@example.org
Update that file and you’re ready to begin receiving submissions. Just submit the active form for the first time, and complete the email address verification step with Formspree, and your contact form is live. The next time someone fills it out, the submission will land in your inbox.
The files included with the theme have a contact page ready for copy/paste, or
you can type
hugo new forms/contact.md and you’re off to the races. There are two
split-left – you guessed it, one puts
the form on the right and the other on the left. You just fill out the front
matter, and the rest is automatic.
# layout options: split-right or split-left layout: split-right
Both layouts display the page title and description opposite the form, and you
can also choose to show your social icon links if you have those configured in