title: A Page with an Example Form form: name: contact-form fields:
name: name label: Name placeholder: Enter your name autofocus: on autocomplete: on type: text validate: required: true
name: email label: Email placeholder: Enter your email address type: email validate: required: true
buttons:
type: submit value: Submit
type: reset value: Reset
process:
email: from: "{{ config.plugins.email.from }}" to:
save: fileprefix: feedback- dateformat: Ymd-His-u extension: txt body: "{% include 'forms/data.txt.twig' %}"
message: Thank you for your feedback!
display: thankyou
Regular markdown content goes here...