Skip to content

Commit

Permalink
Updated header href paths to new posts dir
Browse files Browse the repository at this point in the history
  • Loading branch information
davidn0rman committed Apr 14, 2024
1 parent 1029bdb commit f6806fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ const author = getAuthorData(post.data.author);
<span class="date">{getDateFormatted(post.data.date.toString())}</span>
</div>
<h1 class="title">
<a href={`/post/${post.data.slugPath}`}>
<a href={`/posts/${post.slug}`}>
{post.data.title}
</a>
</h1>
<p class="subtitle">
{post.data.subtitle}...{" "}
<a href={`/post/${post.data.slugPath}`} title={post.data.title}>read full post</a>
<a href={`/posts/${post.slug}`} title={post.data.title}>read full post</a>
</p>
<div class="author">
<Avatar size="small" src={author.profilePicture} />
Expand All @@ -37,7 +37,7 @@ const author = getAuthorData(post.data.author);
</div>
</div>
<div class="image">
<a href={`/post/${post.data.slugPath}`} aria-label="Featured image" title="Featured image">
<a href={`/posts/${post.slug}`} aria-label="Featured image" title="Featured image">
<Image
alt=""
src={import(
Expand Down

0 comments on commit f6806fd

Please sign in to comment.