Jekyll plugin to obfuscate email addresses. Plugin inspired by a @labnol post (see References).
-
Copy
_plugins/email_obfuscator.rb
under<siteroot>/_plugins/
and_sass/_email-obfuscator.scss
under<siteroot>/_sass/
-
Append to
<siteroot>/css/main.scss
@import "email-obfuscator";
-
In your site's pages use
{% email john.doe@example.com %}