themefisher / infinity-hugo

Infinity is a responsive, modern and clean free construction theme powered by Bootstrap4 and Hugo. This minimal template is packed with a countdown timer, contact form, about section where you can write a little bit about yourself and also feature section.
https://gethugothemes.com/products/infinity/?utm_source=infinity_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
40 stars 50 forks source link

Contact section: How to implement Formspree contact action in theme #8

Closed GWevroy closed 5 years ago

GWevroy commented 5 years ago

Hi, I am trying to use the Formspree as suggested, but I have no idea where to implement the action as advised by formspree here: https://formspree.io/

Do I add the line: [form action="https://formspree.io/email@domain.tld" method="POST"]

to the config (param.contact) section somehow (the exampleSite does not show any action at all). Alternatively do I add this line (modified with my email address) to some of the lower level html in the theme? That doesn't seem to be the right way to go about doing this, given that the theme uses a contact section that relies on some form of action when you click the SEND ME button.

Please can you provide a little more detail in this regard, thanks.

Kind regards, Graham

somratpro commented 5 years ago

Hey @Witenite , I fixed this issue, you can pull the code now. I am going to close this issue, if you fetching any problem with contact form, you can reopen this issue.