From 1cff076edf1a4502f95a789a56f9d7c60df115d3 Mon Sep 17 00:00:00 2001 From: Felipe Date: Mon, 15 Feb 2021 10:26:03 +0100 Subject: Fixing formspree integration and adding steps to readme.md and exampleSite --- README.md | 8 +++++++- exampleSite/data/config.json | 5 +++-- layouts/partials/contact.html | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d8d6032..39ac6a5 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,10 @@ Hugo UILite portfolio theme is designed especially for designers and developers ### Useful Links -[Free Demo](https://demo.uicard.io/hugo-uilite-free/) | [Pro Demo](https://demo.uicard.io/hugo-uilite-portfolio-demo/) | [More Info](https://uicard.io/products/hugo-uilite-pro?utm_source=github) \ No newline at end of file +[Free Demo](https://demo.uicard.io/hugo-uilite-free/) | [Pro Demo](https://demo.uicard.io/hugo-uilite-portfolio-demo/) | [More Info](https://uicard.io/products/hugo-uilite-pro?utm_source=github) + +### Contact via Formspree + +- [Register](https://formspree.io/) +- [Create a Project and a Form](https://help.formspree.io/hc/en-us/articles/360053239754-Getting-started-with-projects) +- Add your **form endpoint** to `data/config.json \ No newline at end of file diff --git a/exampleSite/data/config.json b/exampleSite/data/config.json index 5e30375..6284b53 100644 --- a/exampleSite/data/config.json +++ b/exampleSite/data/config.json @@ -1,4 +1,5 @@ { "author" : "Arvind Singh", - "email" : "youremailhere@gmail.com" -} \ No newline at end of file + "email" : "youremailhere@gmail.com", + "formspree" : "https://your-form-endpoint-goes-here" +} diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index 97cb4ed..4fa30e6 100644 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -8,7 +8,7 @@ {{ $config.message }} -
+
-- cgit v1.2.3