From 27ae8c65d2efd2ac3ae020600762c214bac0b9f7 Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.uk> Date: Tue, 26 Jun 2018 19:13:11 +0100 Subject: [PATCH] Use netlify form --- source/contact.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/contact.html.twig b/source/contact.html.twig index cbccca61..383ec004 100644 --- a/source/contact.html.twig +++ b/source/contact.html.twig @@ -6,7 +6,7 @@ use: [posts] {% block content %} <p>To send me an email, complete the form below.</p> - <form action="https://formspree.io/{{ site.email }}" method="POST"> + <form method="POST" action="/contact/thanks" data-netlify="true"> <label for="name" class="block mb-1">Name</label> <input type="text" class="w-full p-2 mb-4 border border--grey"