npqhugo/layouts/shortcodes/contact.html

12 lines
413 B
HTML
Raw Normal View History

2020-04-11 19:28:48 +08:00
{{with .Site.Params.formspreeID}}
<form class="contact-form"
action="https://formspree.io/{{.}}"
method="POST"
>
<input id="name" type="text" name="name" placeholder="Your Name">
<input id="mail" type="text" name="_replyto" placeholder="Your Mail">
<textarea id="message" name="message" placeholder="Your message"></textarea>
<button class="reach-me-send" type="submit">Send</button>
{{end}}
</form>