Skip to content

Commit

Permalink
Remove link fragment placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
willfaught committed Jun 7, 2024
1 parent 124ccee commit 1c4dfd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/paige/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
{{ errorf "layouts/shortcodes/paige/email.html: no content" }}
{{ end }}

<span class="paige-email"><a href="#" data-a="{{ base64Encode (index (split $address `@`) 0) }}" data-b="{{ base64Encode `@` }}" data-c="{{ base64Encode (index (split $address `@`) 1) }}" onclick="this.href = 'mailto:' + atob(this.dataset.a) + atob(this.dataset.b) + atob(this.dataset.c)">{{ $content }}</a></span>
<span class="paige-email"><a href="" data-a="{{ base64Encode (index (split $address `@`) 0) }}" data-b="{{ base64Encode `@` }}" data-c="{{ base64Encode (index (split $address `@`) 1) }}" onclick="this.href = 'mailto:' + atob(this.dataset.a) + atob(this.dataset.b) + atob(this.dataset.c)">{{ $content }}</a></span>

0 comments on commit 1c4dfd5

Please sign in to comment.