How To Add A Contact Form To Your Ghost Blog
So, you want to add a contact form to your ghost blog?
If you had a Wordpress site, you could just get a plugin. If you had custom php site, you could just make a custom form script. But what do you do for a ghost blog? Adding a ghost form is actually easier than you think.
What you need to do is use FormSpree, which is an external form endpoint. You add a basic html form to a contact page and then point it to
When someone submits the contact form, it gets routed to your email address via formspree.com. This is a free service, and you don’t even need to register an account for it to work!
Here’s some sample code:
Remember, Ghost can parse both markdown and HTML. So if you add the above html to a page on your ghost blog, .e.g,
Don’t forget to add your email address to the form
We can style the form appropriately by making sure to add the classes
ghost-input to the input fields.