diff options
author | danielkvist <d94.zaragoza@gmail.com> | 2018-12-22 01:41:00 +0300 |
---|---|---|
committer | danielkvist <d94.zaragoza@gmail.com> | 2018-12-22 01:41:00 +0300 |
commit | 7c52c4f2b5cfeef17988af0d899643f070107ab2 (patch) | |
tree | e2f96c73dc53960cc4aec8a8c89855496d7f39ef /exampleSite | |
parent | 341250151d85381ffb18b727a4c38633ee66ce0d (diff) |
add contact form options
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9d76ca8..59ee15c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,7 +10,7 @@ themesDir = "../.." [params] -[params.hero] # Hero options +[params.hero] # Hero show = true background = "undraw_freelancer_b0my.svg" @@ -18,14 +18,34 @@ themesDir = "../.." show = true cta = "Contact" link = "example@gmail.com" - type = "email" + type = "email" # Leave blank for other types of links + +[params.form] # Contact form + action = "https://formspree.io/your@email.com" + method = "POST" + showInputName = true + inputNameName = "name" + inputNamePlaceholder = "Your name" + inputEmailName = "email" + inputEmailPlaceholder = "Your email" + showInputMsg = true + inputMsgName = "message" + inputMsgPlaceholder = "Your message" + inputSubmitValue = "Send" + +[params.posts] + showAuthor = false # TODO: + showDate = true + showTags = true + dateFormat = "Monday, Jan 2, 2006" + postsPerPage = 7 # TODO: [params.contact] # Contact info email = "example@gmail.com" phone = "xxx xxx xxx" address = "419 Creek St. Revere, MA 02151" -[params.social] # Your social networks +[params.social] # Social networks twitter = "https://twitter.com/john" facebook = "https://facebook.com/john" github = "https://github.com/john" |