Jekyll Guide
Add A Contact Form To Jekyll
Here is a guide for integrating Fabform with a Jekyll site:
Step 1: Create a new blank Jekyll site
Ensure you have Bundler and Jekyll installed:
Create a new Jekyll site:
Navigate into your site directory:
Start the Jekyll server:
Jekyll will start a development server accessible by default at http://localhost:4000
.
Step 2: Add a Contact Form to your Jekyll site
-
Create Contact Page: Inside the
_site
directory of your Jekyll site, create a new directory namedcontact
. -
Create HTML File: Inside the
contact
directory, create a new HTML file namedindex.html
. -
Update Contact Page Content: Replace the content of
index.html
with the following code block:
Note: Replace {your-form-endpoint}
with the unique form endpoint provided by Fabform.
Step 3: Run your Jekyll site locally to finalize setup
Run the following command to see your Jekyll form in action at localhost:4000/contact/
:
That’s it! Your Jekyll site is now integrated with Fabform for handling form submissions.