Contact Page
To create the Contact page and have a direct way in which your readers can contact you, you can add a contact page based on Formspree (opens in a new tab) or Getform (opens in a new tab).
Get Formspree/Getform endpoint URL
- Register account to one of these services - Formspree (opens in a new tab) or Getform (opens in a new tab).
- Get an endpoint URL and use it in your custom form
Create a form
- Log in to Ghost admin
- Go to Pages, click New page
- Set the Page title to Contact
- Insert HTML card to the page with the following code:
<form action="ENDPOINT_URL" method="POST" target="_blank"> <label for="name">Your Name</label> <input name="name" id="name" type="name" /> <label for="email">Your Email</label> <input name="email" id="email" type="email" required /> <label for="message">Your Message</label> <textarea name="message" id="message" required></textarea> <button type="submit">Send message</button> </form>
- Change the form action attribute to your Formspree/Getform endpoint URL
- Click Publish