Skip to content

Commit

Permalink
Add honeypot to contact form
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Aug 13, 2024
1 parent 02ce4b9 commit e196df2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/contact.njk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ eleventyNavigation:
<form class="form" name="contact" action="https://formsubmit.co/{{ sitemeta.siteAuthor.email }}" method="POST">
<input type="hidden" name="_next" value="{{ sitemeta.siteUrl }}/contact/thanks.html">
<input type="hidden" name="_captcha" value="false">
<input type="text" name="_honey" style="display:none">
<div class="form__section">
<label class="form__label" for="yourName">Name</label>
<input class="form__input" name="name" type="text" id="yourName" required="true">
Expand Down

0 comments on commit e196df2

Please sign in to comment.