I am searching for a solution/plugin to add "mailto" markdown text.
But it has to have spam prevention in it.
Is there a plugin for this? I couldn;d it.
Archive
There's a [safe_email](Twig filter: http://learn.getgrav.org/themes/twig-filters-functions#safe-email) Twig filter already.
Thanks for reply
Sorry, I think I mis a part of programming.... how can I integrate this in the blog page ? Just by markdown?
And is it still clickable by href mailto?
Enable twig processing in the page and then just write {{'[email protected]'|safe_email}}
To have a mailto link:
TWIG
<a href="mailto:{{'[email protected]'|safe_email}}">
Email me
</a>
Thanks, its working now.
Adding a ?subject is not working. Is that correct
Removed the ' around the mail adress and the subject is also working.
Even call to: works. TOP
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1354 | 9 years ago | ||
| 2 | 935 | 9 years ago | ||
| 2 | 4065 | 9 years ago | ||
| 1 | 2953 | 9 years ago | ||
| 3 | 1119 | 9 years ago |