diff options
Diffstat (limited to 'exampleSite')
| -rw-r--r-- | exampleSite/config.toml | 4 | ||||
| -rw-r--r-- | exampleSite/content/about.md | 1 | ||||
| -rw-r--r-- | exampleSite/content/contact.md | 2 | ||||
| -rw-r--r-- | exampleSite/content/thanks.md | 9 |
4 files changed, 14 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9224727..31b696c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -151,9 +151,11 @@ disableKinds = ['RSS'] [params.contact] # Formspree URL, used in contacts form - formAction = 'https://formspree.io/f/example' + formAction = 'https://submit-form.com/example' # Contact form email subject emailSubject = 'Contact form submission' + # After successful submit, where should the user be redirected? + thanksUrl = '/thanks' [params.assets] # Site icons, relative to ./static diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md index 5b8fd5f..f900d71 100644 --- a/exampleSite/content/about.md +++ b/exampleSite/content/about.md @@ -45,6 +45,7 @@ for you, Kindle! - Unobtrusive footnotes - Metadata in OpenGraph to play nice with social media and search engines - Automatic table of content generation +- Contact form ## Installing and using Ed diff --git a/exampleSite/content/contact.md b/exampleSite/content/contact.md index 56147cb..05c1bb8 100644 --- a/exampleSite/content/contact.md +++ b/exampleSite/content/contact.md @@ -3,6 +3,6 @@ title: Contact description: We'd love to hear from you --- -This is an example of a custom shortcode that you can put right into your content. You will need to add a form action to the the shortcode to make it work. Check out [Formspree](https://formspree.io/) for a simple, free form service. +This is an example of a custom shortcode that you can put right into your content. You will need to add a form action to the the shortcode to make it work. Check out [Formspark](https://formspark.io/) for a simple, free form service. {{< form-contact >}} diff --git a/exampleSite/content/thanks.md b/exampleSite/content/thanks.md new file mode 100644 index 0000000..cf5e6bc --- /dev/null +++ b/exampleSite/content/thanks.md @@ -0,0 +1,9 @@ +--- +title: Thank you +private: true +--- + +Your message will be sent within a short time. +We'll answer as soon as possible. + +[← Back to Home](/). |
