Skip to content

Add contact form via FormSpree#11

Open
GregSutcliffe wants to merge 1 commit into
EdinbR:masterfrom
GregSutcliffe:contact
Open

Add contact form via FormSpree#11
GregSutcliffe wants to merge 1 commit into
EdinbR:masterfrom
GregSutcliffe:contact

Conversation

@GregSutcliffe

Copy link
Copy Markdown
Contributor

OK, so summary:

The contact page uses FormSpree for email delivery, which is free for <=50 submissions per month. It currently goes to me, but we can change that - it's registered under "edinbr@emeraldreverie.org" but we can add another address and reconfigure without having to redeploy the site. Likewise we can potentially change the login to FormSpree to a shared email too.

FormSpree has a ton of options which I have for now left at defaults. I will upload a screenshot so you can see what we have access to. The contact page renders a basic form and sends the POST to FormSpree, which then handles further actions. It is pluggable if we want to do fun things like collating responses in a spreadsheet etc.

The styling is dreadful because I suck at CSS. Improvements very much welcome.

The change to _config.yml is because newer versions of Jekyll seem to require "plugins" instead of "gems" - I'm not sure what version is being used to build the site so I added rather than replaced.

@GregSutcliffe

Copy link
Copy Markdown
Contributor Author

image

Note other form types like a chat-style button in the bottom corner etc are possible, but I went HTML for widest applicability

@GregSutcliffe

Copy link
Copy Markdown
Contributor Author

Page currently renders like this:
image

As I say, CSS help very welcome 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant