Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/layouts/BlogPost/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const dateFormatter = new Intl.DateTimeFormat('en-US', {
{
tags && tags.length > 0 && (
<TagList
tags={Object.fromEntries(tags.map((tag) => [tag, `${BLOG_URL}tags/${tag}`]))}
tags={Object.fromEntries(tags.map((tag) => [tag, `/tags/${tag}`]))}
isOpen={true}
/>
)
Expand All @@ -148,7 +148,7 @@ const dateFormatter = new Intl.DateTimeFormat('en-US', {
<li>
<PostCard
variant="small"
url={`${BLOG_URL}${post.url}`}
url={`/${post.url}`}
title={post.title}
image={post.image}
imageAlt={post.imageAlt}
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/BlogPosts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const {
posts.map((post) => (
<PostCard
variant="large"
url={`${BLOG_URL}${post.url}`}
url={'/' + post.url}
title={post.data.title}
createdAt={post.data.createdAt.toISOString()}
image={post.data.image}
Expand Down