Skip to content

Commit

Permalink
Fix the Twitter link and add Mastodon
Browse files Browse the repository at this point in the history
  • Loading branch information
dguo committed Apr 15, 2024
1 parent 41c3062 commit 81a5b4d
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions src/pages/newsletter.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import BaseLayout from "../layouts/BaseLayout.astro";
.push(arguments);},l=d.createElement(e),l.async=1,l.src=u,
n=d.getElementsByTagName(e)[0],n.parentNode.insertBefore(l,n);})
(window,document,'script','https://assets.mailerlite.com/js/universal.js','ml');
ml('account', '796104');
ml("account", "796104");
</script>

<BaseLayout title="Danny Guo · Newsletter">
Expand All @@ -22,10 +22,17 @@ import BaseLayout from "../layouts/BaseLayout.astro";
<div class="ml-embedded" data-form="7m0QtF"></div>

<p>
You can also follow me on
<a href="{`https://twitter.com/${
You can also follow me on <a
href={`https://twitter.com/${
import.meta.env.PUBLIC_AUTHOR_TWITTER_NAME
}`}">Twitter</a> or subscribe
to <a href="/blog/feed.xml" type="application/rss+xml">my RSS feed</a>.
}`}>Twitter</a
> or <a
href={`https://${
import.meta.env.PUBLIC_AUTHOR_MASTODON_HANDLE.split("@")[1]
}/@${import.meta.env.PUBLIC_AUTHOR_MASTODON_HANDLE.split("@")[0]}`}
>Mastodon</a
> or subscribe to my <a href="/blog/feed.xml" type="application/rss+xml"
>RSS feed</a
>.
</p>
</BaseLayout>

0 comments on commit 81a5b4d

Please sign in to comment.