hugo-page/themes/tsc_vfl/layouts/shortcodes/mail-link.html

3 lines
113 B
HTML

<a class="mail-link" href="{{ printf "mailto:%s" (.Get "mail") | encoding.Base64Encode }}">
{{ .Inner }}
</a>