Update README.md

Added instructions to README.md on how to add a hugo contact form
This commit is contained in:
derrygeoff 2022-05-30 11:21:25 +01:00 committed by GitHub
parent f70b720c7e
commit 2c58a8b3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,17 @@ You can add **a new blog-post** via running
hugo new blog/my-new-post.md
```
## [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>
```
### Adding your branding / colors / css
Add a `custom_head.html`-file to your `layouts/partials`-directory. In there you may add a `<style>`-tag, *or* you may add a `<link>`-tag referencing your own `custom.css` (in case you prefer to have a separate `.css`-file). Check out the [`style.html`](https://github.com/janraasch/hugo-bearblog/blob/master/layouts/partials/style.html)-file to find out which CSS-styles are applied by default.
@ -75,6 +86,7 @@ Please use [GitHub issues](https://github.com/janraasch/hugo-bearblog/issues) an
If you do not have a GitHub-account, please hit me up via e-mail (see [janraasch.com](https://www.janraasch.com)).
## Special Thanks 🎁
A special thank you goes out to [Herman](https://herman.bearblog.dev), for creating the original [ʕ•ᴥ•ʔ Bear Blog](https://bearblog.dev/).