Add a contact form to GitHub Pages
GitHub Pages can't run server code — here's how to add a working contact form anyway.
- 1
Get a FormLoom key
Mint a free access key — the form id you can safely commit to your repo.
- 2
Add the form to your page
Paste a `<form method="POST">` into your Jekyll layout or a plain HTML file.
- 3
Commit and push
Push to GitHub; the form POSTs to FormLoom from the visitor's browser.
FAQ
It serves static files only — no server code runs. The form must POST to an external backend like FormLoom.