upgrade: Contact widget due to Formspree deprecation
see https://github.com/wowchemy/wowchemy-hugo-modules/issues/1940
This commit is contained in:
parent
391db20c75
commit
f702e0b354
8 changed files with 56 additions and 43 deletions
|
@ -47,6 +47,13 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
|
||||||
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
|
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
|
||||||
section = [ "HTML", "RSS" ]
|
section = [ "HTML", "RSS" ]
|
||||||
|
|
||||||
|
[mediaTypes."application/manifest+json"]
|
||||||
|
suffixes = ["webmanifest"]
|
||||||
|
|
||||||
|
[outputFormats.WebAppManifest]
|
||||||
|
mediaType = "application/manifest+json"
|
||||||
|
rel = "manifest"
|
||||||
|
|
||||||
# Configure the Markdown renderer.
|
# Configure the Markdown renderer.
|
||||||
[markup]
|
[markup]
|
||||||
defaultMarkdownHandler = "goldmark"
|
defaultMarkdownHandler = "goldmark"
|
||||||
|
|
|
@ -1,24 +1,30 @@
|
||||||
+++
|
---
|
||||||
# Contact widget.
|
# An instance of the Contact widget.
|
||||||
widget = "contact" # See https://sourcethemes.com/academic/docs/page-builder/
|
# Documentation: https://sourcethemes.com/academic/docs/page-builder/
|
||||||
headless = true # This file represents a page section.
|
widget: contact
|
||||||
active = true # Activate this widget? true/false
|
|
||||||
weight = 130 # Order that this section will appear.
|
|
||||||
|
|
||||||
title = "Contact"
|
# This file represents a page section.
|
||||||
subtitle = ""
|
headless: true
|
||||||
|
|
||||||
# Automatically link email and phone?
|
# Order that this section appears on the page.
|
||||||
autolink = true
|
weight: 130
|
||||||
|
|
||||||
# Email form provider
|
title: Contact
|
||||||
# 0: Disable email form
|
subtitle:
|
||||||
# 1: Netlify (requires that the site is hosted by Netlify)
|
|
||||||
# 2: formspree.io
|
|
||||||
email_form = 2
|
|
||||||
|
|
||||||
# Netlify form settings.
|
content:
|
||||||
[netlify]
|
# Automatically link email and phone or display as text?
|
||||||
captcha = false # Enable CAPTCHA challenge to reduce spam?
|
autolink: true
|
||||||
+++
|
|
||||||
|
|
||||||
|
# Email form provider
|
||||||
|
form:
|
||||||
|
provider: netlify
|
||||||
|
formspree:
|
||||||
|
id:
|
||||||
|
netlify:
|
||||||
|
# Enable CAPTCHA challenge to reduce spam?
|
||||||
|
captcha: false
|
||||||
|
|
||||||
|
design:
|
||||||
|
columns: '2'
|
||||||
|
---
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
# Documentation: https://sourcethemes.com/academic/docs/page-builder/
|
# Documentation: https://sourcethemes.com/academic/docs/page-builder/
|
||||||
widget: contact
|
widget: contact
|
||||||
|
|
||||||
# Activate this widget? true/false
|
|
||||||
active: true
|
|
||||||
|
|
||||||
# This file represents a page section.
|
# This file represents a page section.
|
||||||
headless: true
|
headless: true
|
||||||
|
|
||||||
|
@ -15,16 +12,19 @@ weight: 130
|
||||||
title: Contact
|
title: Contact
|
||||||
subtitle:
|
subtitle:
|
||||||
|
|
||||||
# Automatically link email and phone or display as text?
|
content:
|
||||||
autolink: true
|
# Automatically link email and phone or display as text?
|
||||||
|
autolink: true
|
||||||
|
|
||||||
# Email form provider
|
# Email form provider
|
||||||
# 0: Disable email form
|
form:
|
||||||
# 1: Netlify (requires that the site is hosted by Netlify)
|
provider: formspree
|
||||||
# 2: formspree.io
|
formspree:
|
||||||
email_form: 2
|
id: test
|
||||||
|
netlify:
|
||||||
netlify:
|
|
||||||
# Enable CAPTCHA challenge to reduce spam?
|
# Enable CAPTCHA challenge to reduce spam?
|
||||||
captcha: false
|
captcha: false
|
||||||
|
|
||||||
|
design:
|
||||||
|
columns: '2'
|
||||||
---
|
---
|
||||||
|
|
|
@ -2,4 +2,4 @@ module github.com/wowchemy/starter-academic/exampleSite
|
||||||
|
|
||||||
go 1.15
|
go 1.15
|
||||||
|
|
||||||
require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201111005443-165dcd6c3eab // indirect
|
require github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201113000901-bc07e3e614dc // indirect
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201109174124-1ed538027a75 h1:NbluAtKcpfNcsMGuVEjy5tFbwJMu50m/flJXS8RtUtI=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201113000901-bc07e3e614dc h1:CEU/1wcms1ETNl7MWY4OPGSCI89nvnZK288QzCTWnNY=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201109174124-1ed538027a75/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201113000901-bc07e3e614dc/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -4,5 +4,5 @@ go 1.15
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201109174124-1ed538027a75 // indirect
|
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201109174124-1ed538027a75 // indirect
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201111005443-165dcd6c3eab
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201113000901-bc07e3e614dc
|
||||||
)
|
)
|
||||||
|
|
6
go.sum
6
go.sum
|
@ -1,3 +1,3 @@
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201016182837-be0fa17ac006/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY=
|
github.com/wowchemy/wowchemy-hugo-modules/netlify-cms-academic v0.0.0-20201109174124-1ed538027a75/go.mod h1:TU3QDPUdBSQnvDP5QVCwjAkBIdVMS/bKFA8jr3eI5AY=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201102170205-80fce98e72a9 h1:Xlur4C1LriYTITcDsTo5Sl/eyxyspJhccS0EYXcRacA=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201113000901-bc07e3e614dc h1:CEU/1wcms1ETNl7MWY4OPGSCI89nvnZK288QzCTWnNY=
|
||||||
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201102170205-80fce98e72a9/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
github.com/wowchemy/wowchemy-hugo-modules/wowchemy v0.0.0-20201113000901-bc07e3e614dc/go.mod h1:H22qfH9qj3FWwsk7+bAZpmT24yRGNQURah2/IRwjbn8=
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.75.1"
|
HUGO_VERSION = "0.78.1"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
Loading…
Reference in a new issue