From 7c1c61b6bfafca1f0a1b0c9e2970c044a5d44fbc Mon Sep 17 00:00:00 2001 From: zzossig Date: Thu, 10 Dec 2020 06:42:20 +0900 Subject: [PATCH] Netlify Form support --- layouts/contact/single.html | 2 ++ layouts/partials/contact/netlifyform.html | 39 +++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 layouts/partials/contact/netlifyform.html diff --git a/layouts/contact/single.html b/layouts/contact/single.html index 5d1326a..07289b9 100644 --- a/layouts/contact/single.html +++ b/layouts/contact/single.html @@ -13,6 +13,8 @@ {{ partial "contact/formspree" . }} {{ else if eq .Params.service "getform" }} {{ partial "contact/getform" . }} + {{ else if eq .Params.service "netlifyform" }} + {{ partial "contact/netlifyform" . }} {{ end }} diff --git a/layouts/partials/contact/netlifyform.html b/layouts/partials/contact/netlifyform.html new file mode 100644 index 0000000..8715161 --- /dev/null +++ b/layouts/partials/contact/netlifyform.html @@ -0,0 +1,39 @@ +
+
+
+ + +
+
+ + +
+
+
+ + +
+ +
+ + \ No newline at end of file