From 8b009f0ea6ea9d181ba8d0e6549c25645aa697c4 Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 15 Aug 2023 18:00:09 +0100 Subject: NewsPreviewLink finds out its own locale --- src/pages/[locale]/news/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pages') diff --git a/src/pages/[locale]/news/index.astro b/src/pages/[locale]/news/index.astro index 42a17e2..0c81fd9 100644 --- a/src/pages/[locale]/news/index.astro +++ b/src/pages/[locale]/news/index.astro @@ -29,7 +29,7 @@ export async function getStaticPaths() {
{ allNewsInLocale.length > 0 ? ( - allNewsInLocale.map((item) => ) + allNewsInLocale.map((item) => ) ) : (

{t(tPage, { key: 'no-news' })}

) -- cgit v1.2.3