fix link to latest blog post on home page

This commit is contained in:
2025-09-14 10:42:32 -04:00
parent e22a609753
commit 0a8b6e69f1
+7 -3
View File
@@ -35,14 +35,15 @@ const latestPost = posts.sort(
development, and whatever else strikes my fancy. development, and whatever else strikes my fancy.
</p> </p>
<p> <p>
Read my latest blog post, <a href={`blog/${latestPost.slug}`} Read my latest blog post, <a href={`blog/${latestPost.id}`}
>{latestPost.data.title}</a >{latestPost.data.title}</a
>, posted on {new Date(latestPost.data.pubDate).toLocaleDateString()}. >, posted on {new Date(latestPost.data.pubDate).toLocaleDateString()}.
</p> </p>
<p> <p>
If your interested in checking out my web dev projects, check out <a If your interested in checking out my web dev projects, check out <a
href="https://ghall.dev/" href="https://ghall.dev/"
target="_blank">my portfolio</a target="_blank"
rel="noopener noreferrer">my portfolio</a
>. >.
</p> </p>
<p> <p>
@@ -50,17 +51,20 @@ const latestPost = posts.sort(
rel="me" rel="me"
href="https://mastodon.social/@ghalldev" href="https://mastodon.social/@ghalldev"
target="_blank" target="_blank"
rel="noopener noreferrer"
><MastodonIcon width={iconSize} height={iconSize} />Mastodon</a ><MastodonIcon width={iconSize} height={iconSize} />Mastodon</a
> and <a > and <a
href="https://bsky.app/profile/ghalldev.bsky.social" href="https://bsky.app/profile/ghalldev.bsky.social"
target="_blank" target="_blank"
rel="noopener noreferrer"
><BlueskyIcon width={iconSize} height={iconSize} />Bluesky</a ><BlueskyIcon width={iconSize} height={iconSize} />Bluesky</a
>. >.
</p> </p>
<p> <p>
My portrait was drawn by <a My portrait was drawn by <a
href="https://www.nataliavazquezgarcia.com" href="https://www.nataliavazquezgarcia.com"
target="_blank">Natalia Vazquez</a target="_blank"
rel="noopener noreferrer">Natalia Vazquez</a
>. >.
</p> </p>
<LatestPost /> <LatestPost />