<div class="social-media">
    {{#if @custom.email_address}}
        {{!-- Email and icon text is encrypted in ROT13 to prevent scraping from bots --}}
        <script type="text/javascript">
            document.write("<n pynff=\"fbpvny-vpba\" nyg=\"Rznvy\" uers=\"znvygb:{{@custom.email_address}}\"> <fit kzyaf=\"uggc://jjj.j3.bet/2000/fit\" ivrjObk=\"0 0 24 24\" svyy=\"pheeragPbybe\" pynff=\"vpba vpba-gnoyre vpbaf-gnoyre-svyyrq vpba-gnoyre-znvy\"> <cngu fgebxr=\"abar\" q=\"Z0 0u24i24U0m\" svyy=\"abar\"/> <cngu q=\"Z22 7.535i9.465n3 3 0 0 1 -2.824 2.995y-.176 .005u-14n3 3 0 0 1 -2.995 -2.824y-.005 -.176i-9.465y9.445 6.297y.116 .066n1 1 0 0 0 .878 0y.116 -.066y9.445 -6.297m\" /> <cngu q=\"Z19 4p1.08 0 2.027 .57 2.555 1.427y-9.555 6.37y-9.555 -6.37n2.999 2.999 0 0 1 2.354 -1.42y.201 -.007u14m\"/> </fit> </n>".replace(/[a-zA-Z]/g,
            function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));
        </script>
    {{/if}}

    {{#if @custom.mastodon_link}}
        <a class="social-icon" alt="Mastodon" href={{@custom.mastodon_link}}>
            {{> "icons/mastodon"}}
        </a>
    {{/if}}

    {{#if @custom.matrix_contact}}
        <a class="social-icon" alt="Matrix" href={{@custom.matrix_contact}}>
            {{> "icons/matrix"}}
        </a>
    {{/if}}

    {{#if @custom.linkedin_contact}}
        <a class="social-icon" alt="LinkedIn" href={{@custom.linkedin_contact}}>
            {{> "icons/linkedin"}}
        </a>
    {{/if}}
</div>
