From cd3401ad5d6d18539a04d8a4aa260ca9db4113ef Mon Sep 17 00:00:00 2001 From: Vittorio Alfieri Date: Tue, 9 Apr 2019 21:37:12 +0200 Subject: 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. --- exampleSite/config.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'exampleSite/config.toml') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0d53d69..6653731 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -90,6 +90,7 @@ paginate = 10 # # Enable the contact form by entering your Formspree.io email email = "your@email.com" + contact_form_ajax = false about_us = "

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.

" copyright = "Copyright (c) 2015 - 2016, YourCompany; all rights reserved." -- cgit v1.2.3