diff --git a/README.md b/README.md index 0634ac0..214d244 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The following resources will enable you to deploy and get started with hugo-mx-g * [Deployment on Docker](./docs/deployment-on-kubernetes.md) * [Deployment on Debian](./docs/deployment-on-debian.md) * [Configuration Variables](./docs/configuration-variables.md) -* [Sample of contact form for Hugo](./docs/sample-of-hugo-dontact-form.md) +* [Sample of contact form for Hugo](./docs/sample-contact-form-for-hugo.md) * [Design Fundamentals](./docs/design-fundamentals.md) # License & Copyrights diff --git a/docs/sample-contact-form-for-hugo.md b/docs/sample-contact-form-for-hugo.md new file mode 100644 index 0000000..d48e0c6 --- /dev/null +++ b/docs/sample-contact-form-for-hugo.md @@ -0,0 +1,24 @@ + +# Sample Contact Form for Hugo + +From the source tree, the file `samples/hugo-partial-contact-form.html` contains a sample HTML form for Hugo (a screenshot is provided below). + +> This form can be used for a contact or a demo form. Indeed, as shown in the procedure below, the form is configured to be rendered specifically according to a tag set in the Hugo page content. + +![Screenshot of a successful submission](../screenshots/form-submitted-and-processed-with-success.png) + +## Setup Procedure + +* Copy the HTML form content in your target **Hugo HTML template**. +* Open the file in your favorite editor to update it. +* Modify the `