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

@@ -376,6 +376,18 @@ This shortcode is for importing code from external sources easily without copyin
<br/><br/><br/>
## Email
Creates an obfuscated mailto link:
```md
{{</* email email="mailto:hello@test.com" text="text" subject="Reply to awesome article" */>}}
```
{{< email email="mailto:hello@test.com" text="text" subject="Reply to awesome article" >}}
<br/><br/><br/>
## Figure
Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits.