Update README.md

Added instructions to add a hugo contact form on README.md
This commit is contained in:
derrygeoff 2022-05-30 10:03:12 +01:00 committed by GitHub
parent e0213b0d4e
commit 0e1412b5b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,6 +210,19 @@ to `config.toml` file in your Hugo root directory and change params fields. In c
**NOTE:** Please keep in mind that currently `main menu` doesn't support nesting. **NOTE:** Please keep in mind that currently `main menu` doesn't support nesting.
## [Add hugo contact form](https://fabform.io/a/hugo-contact-form)
```
<form action="https://fabform.io/f/{form-id}" method="post">
<label for="email">Your Email</label>
<input name="email" type="email">
<button type="submit">Submit</button>
</form>
```
## Post archetype ## Post archetype
See the default `post` file params supported by the theme — https://github.com/panr/hugo-theme-terminal/blob/master/archetypes/posts.md See the default `post` file params supported by the theme — https://github.com/panr/hugo-theme-terminal/blob/master/archetypes/posts.md