summaryrefslogtreecommitdiffstats
path: root/exampleSite/config.toml
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-27 13:58:40 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-27 13:58:40 +0200
commit064f2c1882ea4c788fe7657e8fb37381771940f8 (patch)
tree6310c7aec1c6368cfce85dce65313397e25ca5d7 /exampleSite/config.toml
parent1cb961252ed3208ea91b4f760573a51224dde5ac (diff)
downloadgohugo-theme-ed-064f2c1882ea4c788fe7657e8fb37381771940f8.tar.gz
Setup contact form
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index c151c16..9224727 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -149,6 +149,12 @@ disableKinds = ['RSS']
# RSS/Atom feed size
feedSize = 25
+ [params.contact]
+ # Formspree URL, used in contacts form
+ formAction = 'https://formspree.io/f/example'
+ # Contact form email subject
+ emailSubject = 'Contact form submission'
+
[params.assets]
# Site icons, relative to ./static
favicon = '' # favicon.ico for legacy browsers
@@ -188,6 +194,11 @@ disableKinds = ['RSS']
url = '/documentation/'
weight = 4
[[menu.main]]
+ identifier = 'contact'
+ name = 'Contact'
+ url = '/contact/'
+ weight = 5
+ [[menu.main]]
identifier = 'github'
name = 'GitHub Project'
url = 'https://github.com/sergeyklay/gohugo-theme-ed/'