diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-04 19:04:54 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-04 19:04:54 +0100 |
| commit | 62c23f65d3e838f05d0a71c00cadb29c92fb9e0f (patch) | |
| tree | 7fb8e04d66fed1c82fef3b043678e1142b25cfa8 /frontend/src/pages | |
| parent | 44ee01331fd7f7f8426b3771244692e263340a15 (diff) | |
Translates site title
Diffstat (limited to 'frontend/src/pages')
| -rw-r--r-- | frontend/src/pages/[locale]/index.astro | 2 |
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> |
