From 064f2c1882ea4c788fe7657e8fb37381771940f8 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Fri, 27 May 2022 13:58:40 +0200 Subject: Setup contact form --- exampleSite/config.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'exampleSite/config.toml') 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 @@ -187,6 +193,11 @@ disableKinds = ['RSS'] name = 'Documentation' url = '/documentation/' weight = 4 + [[menu.main]] + identifier = 'contact' + name = 'Contact' + url = '/contact/' + weight = 5 [[menu.main]] identifier = 'github' name = 'GitHub Project' -- cgit v1.2.3