upgrade: Contact widget due to Formspree deprecation

see https://github.com/wowchemy/wowchemy-hugo-modules/issues/1940
This commit is contained in:
George Cushen 2020-11-13 00:19:36 +00:00
parent 391db20c75
commit f702e0b354
8 changed files with 56 additions and 43 deletions

View file

@ -1,24 +1,30 @@
+++
# Contact widget.
widget = "contact" # See https://sourcethemes.com/academic/docs/page-builder/
headless = true # This file represents a page section.
active = true # Activate this widget? true/false
weight = 130 # Order that this section will appear.
---
# An instance of the Contact widget.
# Documentation: https://sourcethemes.com/academic/docs/page-builder/
widget: contact
title = "Contact"
subtitle = ""
# This file represents a page section.
headless: true
# Automatically link email and phone?
autolink = true
# Order that this section appears on the page.
weight: 130
# Email form provider
# 0: Disable email form
# 1: Netlify (requires that the site is hosted by Netlify)
# 2: formspree.io
email_form = 2
# Netlify form settings.
[netlify]
captcha = false # Enable CAPTCHA challenge to reduce spam?
+++
title: Contact
subtitle:
content:
# Automatically link email and phone or display as text?
autolink: true
# Email form provider
form:
provider: netlify
formspree:
id:
netlify:
# Enable CAPTCHA challenge to reduce spam?
captcha: false
design:
columns: '2'
---