Skip to content

Commit

Permalink
Make "honeypot" input less obvious for spam bots
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes committed Aug 21, 2016
1 parent b29f3ab commit 06a8249
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions _includes/comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ <h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_labe
<label for="comment-form-url">{{ site.data.ui-text[site.locale].comment_form_website_label | default: "Website (optional)" }}</label>
<input type="url" id="comment-form-url" name="fields[url]" tabindex="4"/>
</fieldset>
<fieldset class="hidden">
<fieldset class="hidden" style="display: none;">
<input type="hidden" name="options[slug]" value="{{ page.slug }}">
<input type="hidden" name="fields[hidden]"/>
<label for="comment-form-location">Not used. Leave blank if you are a human.</label>
<input type="text" id="comment-form-location" name="fields[hidden]" autocomplete="off"/>
</fieldset>
<!-- Start comment form alert messaging -->
<p class="hidden js-notice">
Expand Down

0 comments on commit 06a8249

Please sign in to comment.