diff options
author | Vittorio Alfieri <vittorio88@gmail.com> | 2019-04-09 22:37:12 +0300 |
---|---|---|
committer | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2019-04-09 22:37:12 +0300 |
commit | cd3401ad5d6d18539a04d8a4aa260ca9db4113ef (patch) | |
tree | 0263e725ccf49437e4e34da3850ddd3a71036b01 /README.md | |
parent | 25e51a9385c35bad02d9c8da61e8d7e152cbba6c (diff) |
Fix formspree. Add possibility to send request through plain HTTP POST (#203)
* Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle.
* Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Improve hugo templating in contact.html
* Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Add toggle to exampleSite/config.toml
* Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Remove useless function.
* Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Use custom class only for ajax.
* Fix formspree. Add possibility to send request through plain HTTP POST or ajax with toggle. Return if form is null.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -140,11 +140,12 @@ You can optionally add the google maps widget defining latitude and longitude in Since this Hugo sites are static, the contact form uses [Formspree](https://formspree.io/) as a proxy. The form makes a POST request to their servers to send the actual email. Visitors can send up to a 1000 emails each month for free. -To enable the form in the contact page, just type your Formspree email in the `config.toml` file. +To enable the form in the contact page, just type your Formspree email in the `config.toml` file, and specify whether to use ajax(paid) to send request or plain HTTP POST(free). ```yaml [params] email = "your@email.com" +contact_form_ajax = false ``` ### Menu |