Skip to content

Commit

Permalink
cambie la forma en que esta aramado el link de las tag en blog
Browse files Browse the repository at this point in the history
  • Loading branch information
ldevesa committed May 9, 2024
1 parent e9d68c2 commit 0c57ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/en/blog/tag/[tag].astro
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ console.log(posts);
month: "short",
day: "numeric"
})}
href={`${Astro.url.pathname !== '/en/blog' && Astro.url.pathname !== '/es/blog' ? '../' + post.slug.split('/')[1] : 'blog/' + post.slug.split('/')[1]}`}
{`${Astro.url.pathname !== '/en/blog' && Astro.url.pathname !== '/es/blog'}` ? `../${post.slug.split('/')[1]}` : `blog/${post.slug.split('/')[1]}`}
/>)
}
</ul>
Expand Down

0 comments on commit 0c57ef7

Please sign in to comment.