Merge pull request #2837 from schneekluth/feat-email-shortcode

Shortcode for obfuscated mailto email link
This commit is contained in:
Nuno C.
2026-04-13 22:29:29 +01:00
committed by GitHub
3 changed files with 29 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
<a
class="email-link"
href="#"
data-email="{{ .Get "email" | base64Encode }}"
{{ with .Get "subject" }}data-subject="{{ . }}"{{ end }}>
{{- .Get "text" -}}
</a>
{{- /**/ -}}