Add Contact form to your Ghost blog

Ghost does not ship with the functionality of a form so we have to choose a third party service and there is one Formspree. It lets you add forms to a static site which is great since all we need to do is embed an HTML5 form that does not require any coding skill. All you need to do is replace your email address in place of

<form id="contactform" action="//formspree.io/me@example.com" method="POST">
<input name="name" type="text" placeholder="Your name" />
<input name="_replyto" type="email" placeholder="Your email" />
<textarea name="message" placeholder="Your message"></textarea>
<input type="submit" value="Send" />
</form>

Once you add this form submit it and it will ask you to verify the setup by sending you mail on that address once verified your form is ready. Thank you for reading, For more posts stay tuned.

Published by Darryl

A visual effects artist and compositor, self learner, Linux enthusiast and Programmer and can write in Python and Rust. Contributor to open source projects.