Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/aerohub/hugo-identity-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChung Nguyen <nguyenhongchung@gmail.com>2017-04-16 10:51:12 +0300
committerChung Nguyen <nguyenhongchung@gmail.com>2017-04-16 10:51:12 +0300
commit118093bba580ecdbd183fcb48b643de163f4bf12 (patch)
treec90652c778b03f83a2f5a4ac00882ccaf0f8c422
parent4285179d0030dcea5d9adcb634a1df565b9898fd (diff)
Fix contact email params in form action
-rw-r--r--layouts/partials/contact.html2
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 }}