Use netlify form

This commit is contained in:
Oliver Davies 2018-06-26 19:13:11 +01:00
parent 8d6d32ab5c
commit 27ae8c65d2

View file

@ -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"