39 lines
1.2 KiB
Twig
39 lines
1.2 KiB
Twig
|
---
|
||
|
title: Contact
|
||
|
layout: page
|
||
|
---
|
||
|
{% block content %}
|
||
|
<p>To send me an email, complete the form below. The form is powered by <a href="https://formspree.io">Formspree</a>.</p>
|
||
|
|
||
|
<form action="https://formspree.io/{{ site.email }}" method="POST">
|
||
|
<div class="form__name">
|
||
|
<label for="name">Name</label>
|
||
|
<input type="text" name="name">
|
||
|
</div>
|
||
|
|
||
|
<div class="form__email">
|
||
|
<label for="email">Email</label>
|
||
|
<input type="email" name="email">
|
||
|
</div>
|
||
|
|
||
|
<div class="form__subject">
|
||
|
<label for="subject">Subject</label>
|
||
|
<input type="text" name="subject">
|
||
|
</div>
|
||
|
|
||
|
<div class="form__message">
|
||
|
<label for="message">Message</label>
|
||
|
<textarea name="message" rows="5"></textarea>
|
||
|
</div>
|
||
|
|
||
|
<div class="form__actions">
|
||
|
<input class="btn btn-primary" type="submit" value="Send email">
|
||
|
</div>
|
||
|
|
||
|
<input type="hidden" name="_next" value="{{ site.url }}/contact-thanks/" />
|
||
|
<input type="text" name="_gotcha" style="display: none" />
|
||
|
</form>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block body_classes 'page--contact' %}
|