summaryrefslogtreecommitdiff
path: root/frontend/src/pages
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-04 19:04:54 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-08-04 19:04:54 +0100
commit62c23f65d3e838f05d0a71c00cadb29c92fb9e0f (patch)
tree7fb8e04d66fed1c82fef3b043678e1142b25cfa8 /frontend/src/pages
parent44ee01331fd7f7f8426b3771244692e263340a15 (diff)
Translates site title
Diffstat (limited to 'frontend/src/pages')
-rw-r--r--frontend/src/pages/[locale]/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/pages/[locale]/index.astro b/frontend/src/pages/[locale]/index.astro
index 0359f45..23a270d 100644
--- a/frontend/src/pages/[locale]/index.astro
+++ b/frontend/src/pages/[locale]/index.astro
@@ -12,7 +12,7 @@ const locale = Astro.params.locale as Locale;
const t = translate(locale);
---
-<Layout title={ t(home, 'title') }>
+<Layout locale={locale} title={ t(home, 'title') }>
<main id="main">
<section>
<h1 class="title">{ t(site, 'title') }</h1>