pacollins / hugo-future-imperfect-slim

Multilingual Blogging Theme for Hugo | Check the Wiki for Documentation
https://themes.gohugo.io/hugo-future-imperfect-slim/
Other
303 stars 194 forks source link

BUG: Contact Form - exampleSite emailservice & Formspree link confusion #268

Open JeremyVyska opened 2 years ago

JeremyVyska commented 2 years ago

Bug Report

Describe the bug

Issue #200 dropped the HTTP prefix, which is good. However, the Example Site no longer includes it, which made me think I was a nutter when I used the bare Formspree URL without the HTTPS and I was getting 405 error, as it was treating it as a relative path on GitHub Pages.

My recommendation would be to tweak the Example site config to include the full URL.

Feel free to close this, but at least now it'll be here for anyone else confused in the Issues history.

To Reproduce

  1. Make a new Formspree account.
  2. Make a new Hugo site with this theme, set the Contact Page to the style of the example, with your email address, but no HTTPS prefix.
  3. Publish and submit a contact message
  4. You'll get a 405 error.

Expected behavior

To get an email.

pacollins commented 2 years ago

Good catch!