diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-07 19:41:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-07 19:41:20 +0100 |
| commit | 500997042e98784c9d3b7a5ad684e36bf67cd0fa (patch) | |
| tree | bfa129cae6a2b981d5b6dc5c3cc16cfb2bc5c95a /src/pages | |
| parent | 2fcbccfbd49c6eaf433272749e32589a6f490200 (diff) | |
| parent | e08094210c15ee0114ae4f11142aa5f89d81c7aa (diff) | |
Merge pull request #1 from Sycamost/master
Update
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/[locale]/index.astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index 23a270d..7552cd0 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -1,12 +1,12 @@ --- import Layout from '../../layouts/Layout.astro'; -import staticPaths from './staticPaths'; +import localeStaticPaths from '../../lib/localeStaticPaths'; import translate from '../../i18n/translate'; import site from '../../i18n/translations/site'; import home from '../../i18n/translations/pages/home'; import type Locale from '../../types/Locale'; -export async function getStaticPaths() { return staticPaths; } +export async function getStaticPaths() { return localeStaticPaths; } const locale = Astro.params.locale as Locale; const t = translate(locale); |
