From 0c57ef7807a2f5bfe0f94648875320260725ce96 Mon Sep 17 00:00:00 2001 From: ldevesa Date: Thu, 9 May 2024 15:33:00 -0300 Subject: [PATCH] cambie la forma en que esta aramado el link de las tag en blog --- src/pages/en/blog/tag/[tag].astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/en/blog/tag/[tag].astro b/src/pages/en/blog/tag/[tag].astro index f3d424c..da80e22 100644 --- a/src/pages/en/blog/tag/[tag].astro +++ b/src/pages/en/blog/tag/[tag].astro @@ -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]}`} />) }