Skip to content

Commit

Permalink
Set variable for Letterbox user name
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Sep 30, 2024
1 parent 961d580 commit 8ef4de8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/slashes/headerlinks/contact.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ eleventyNavigation:

<p>You can also contact me by pinging me or sending me a private mention on Mastodon at <a href="https://tech.lgbt/@helenclx">@[email protected]</a>.</p>

{% set letterbirdUser = "helenchongdev" %}
<section class="contact">
<script data-letterbirduser="helenchongdev" src="https://letterbird.co/embed/v1.js"></script>
<script data-letterbirduser="{{ letterbirdUser }}" src="https://letterbird.co/embed/v1.js"></script>
<noscript>
<h3>You Have Disabled JavaScript</h3>
<p>Looks like you have disabled JavaScript, preventing this contact form from being displayed on this page. You may visit <a href="https://letterbird.co/helenchongdev">my Letterbird contact form page</a> to reach out to me.</p>
<p>Looks like you have disabled JavaScript, preventing this contact form from being displayed on this page. You may visit <a href="https://letterbird.co/{{ letterbirdUser }}">my Letterbird contact form page</a> to reach out to me.</p>
</noscript>
</section>

Expand Down

0 comments on commit 8ef4de8

Please sign in to comment.