Files
markinstefan.xyz/layouts/shortcodes/email.html
T
2026-05-17 08:39:09 +02:00

9 lines
224 B
HTML

// layouts/shortcodes/email.html
{{ $user := .Get "user" }}
{{ $domain := .Get "domain" }}
<script>
const e = '{{ $user }}' + '@' + '{{ $domain }}';
document.write('<a href="mailto:' + e + '">' + e + '</a>');
</script>