Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

treolabs/bolt3-twig-emailobfuscator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bolt CMS 3 - Twig Email Obfuscator

This extension boasts Bolt CMS 3 with an additional Twig filter to obfuscate email addresses. It rests on the well established method described here using Javascript

To use this extension, just add obfuscateEmail as a filter next to any text-containing field.

E.g.

{{ record.body|obfuscateEmail }}

Obfuscates emails in the plain text:

in anchors (mailto):

<a href="mailto:[email protected]">send email</a>

in anchors (mailto and label):

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published