We can put our email address on social links so that readers can contact us. Unfortunately, emails will be more or less treated as spam and even filtered. Therefore, we bring a feature called contact form.
We need to create a contact page called
contact/index.md in the
content directory, so that we can access the contact form.
2title = "Contact Us"
3layout = "contact"
Once created, the link will appear in the profile widget.
|See also Backends .
|Enable/Disable file upload.
|The name of file field.
are supported out of box, therefore, you don’t need to specify the
The demo site uses Getform instead of Netlify form, because the Netlify will upgrade your form level automatically if you exceed the limit of current plan, which will lead to additional expenses.
Please make sure the
contact.endpointparameter is empty if you intend to use Netlify form.
Let’s take Getform as an example:
2 endpoint = "YOUR_ENDPOINT"