SteveLane / hugo-icon

Icon theme for Hugo
MIT License
87 stars 67 forks source link

Convert contact form from netlify to formspree #31

Closed blueyetisoftware-jason closed 4 years ago

blueyetisoftware-jason commented 4 years ago

This pull requests converts the contact form to formspree. It allows the site configuration to specify a recipient email address in the contact properties that is used to auto create the formspree form. Upon first submission on the live domain, the form will be activated.

blueyetisoftware-jason commented 4 years ago

The renaming of _name to name was not required by formspree. I just don't think it is needed as a special attribute name.

blueyetisoftware-jason commented 4 years ago

I updated the contact form alignment so that it matched the other sections

blueyetisoftware-jason commented 4 years ago

@SteveLane Closing this PR. Looks like it died on the vine.

SteveLane commented 4 years ago

Hi @phinatic sorry, but as I said in issue #6 it'd need to be parameterised so that both types of forms could be used, I don't want to just switch over. Cheers.