This repository has been archived on 2026-05-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blowfish/layouts/shortcodes/email.html
T
schneekluth 1bec932730 Add email link shortcode to layouts
Added E-Mail Shortcode for new E-Mail obfuscation feature introduced in [v2.99.0](]https://github.com/nunocoracao/blowfish/releases/tag/v2.99.0 based on this discussion https://github.com/nunocoracao/blowfish/discussions/2828#discussioncomment-16096521)
2026-03-12 13:59:20 +01:00

9 lines
185 B
HTML

<a
class="email-link"
href="#"
data-email="{{ .Get "email" | base64Encode }}"
{{ with .Get "subject" }}data-subject="{{ . }}"{{ end }}>
{{- .Get "text" -}}
</a>
{{- /**/ -}}