diff options
author | Chung Nguyen <nguyenhongchung@gmail.com> | 2017-04-16 10:51:12 +0300 |
---|---|---|
committer | Chung Nguyen <nguyenhongchung@gmail.com> | 2017-04-16 10:51:12 +0300 |
commit | 118093bba580ecdbd183fcb48b643de163f4bf12 (patch) | |
tree | c90652c778b03f83a2f5a4ac00882ccaf0f8c422 | |
parent | 4285179d0030dcea5d9adcb634a1df565b9898fd (diff) |
Fix contact email params in form action
-rw-r--r-- | layouts/partials/contact.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/contact.html b/layouts/partials/contact.html index 82451ee..f7949df 100644 --- a/layouts/partials/contact.html +++ b/layouts/partials/contact.html @@ -1,7 +1,7 @@ <hr /> <h2>{{ .Site.Params.contact.title }}</h2> {{ if not .Site.Params.contact.postURL }} - <form action="https://formspree.io/{{ with .Site.Params.email }}{{.}}{{ end }}" method="post" name="sentMessage" id="contactForm" novalidate> + <form action="https://formspree.io/{{ with .Site.Params.contact.email }}{{.}}{{ end }}" method="post" name="sentMessage" id="contactForm" novalidate> {{ else }} <form action="{{ .Site.Params.contact.postURL }}" method="POST" name="sentMessage" id="contactForm" novalidate> {{ end }} |