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

Shortcode for obfuscated mailto email link
This commit is contained in:
Nuno C. authored and GitHub committed 2026-04-13 22:29:29 +01:00
commit d35a493ba0
3 files changed
+29 -2

No files matched your search

+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>
{{- /**/ -}}