diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-07 20:05:58 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-07 20:05:58 +0100 |
| commit | 1ec33f27f5bff2b96c80b954b53a62951b6cd354 (patch) | |
| tree | ff412f3257048061f1283d8282c6d587106ee43f /src | |
| parent | b8cef0cc878e51a909cc7c4fcd0e10c222894b85 (diff) | |
Replace staticPaths -> localeStaticPaths
Diffstat (limited to 'src')
| -rw-r--r-- | src/pages/[locale]/furthsettins/index.astro | 4 | ||||
| -rw-r--r-- | src/pages/[locale]/furthsettins/lallans/[issueNumber].astro | 3 | ||||
| -rw-r--r-- | src/pages/[locale]/furthsettins/lallans/index.astro | 5 |
3 files changed, 5 insertions, 7 deletions
diff --git a/src/pages/[locale]/furthsettins/index.astro b/src/pages/[locale]/furthsettins/index.astro index 44fa92c..c42c671 100644 --- a/src/pages/[locale]/furthsettins/index.astro +++ b/src/pages/[locale]/furthsettins/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 tFurthsettins from '../../../i18n/translations/pages/furthsettins'; import tSite from '../../../i18n/translations/site'; 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); diff --git a/src/pages/[locale]/furthsettins/lallans/[issueNumber].astro b/src/pages/[locale]/furthsettins/lallans/[issueNumber].astro index baed564..c5d8088 100644 --- a/src/pages/[locale]/furthsettins/lallans/[issueNumber].astro +++ b/src/pages/[locale]/furthsettins/lallans/[issueNumber].astro @@ -1,11 +1,10 @@ --- import Layout from '../../../../layouts/Layout.astro'; -import localeStaticPaths from '../../staticPaths'; +import localeStaticPaths from '../../../../lib/localeStaticPaths'; import translate from '../../../../i18n/translate'; import tFurthsettins from '../../../../i18n/translations/pages/furthsettins'; import tSite from '../../../../i18n/translations/site'; import type Locale from '../../../../types/Locale'; -import LallansIssuesGallery from '../../../../components/LallansIssuesGallery.astro'; import { getLallansIssue } from '../../../../data/lallans'; import type LallansIssueNumber from '../../../../types/LallansIssueNumber'; diff --git a/src/pages/[locale]/furthsettins/lallans/index.astro b/src/pages/[locale]/furthsettins/lallans/index.astro index dd5b50c..c7d8970 100644 --- a/src/pages/[locale]/furthsettins/lallans/index.astro +++ b/src/pages/[locale]/furthsettins/lallans/index.astro @@ -1,13 +1,12 @@ --- import Layout from '../../../../layouts/Layout.astro'; -import staticPaths from '../../staticPaths'; +import localeStaticPaths from '../..//../../lib/localeStaticPaths'; import translate from '../../../../i18n/translate'; import tFurthsettins from '../../../../i18n/translations/pages/furthsettins'; -import tSite from '../../../../i18n/translations/site'; import type Locale from '../../../../types/Locale'; import LallansIssuesGallery from '../../../../components/LallansIssuesGallery.astro'; -export async function getStaticPaths() { return staticPaths; } +export async function getStaticPaths() { return localeStaticPaths; } const locale = Astro.params.locale as Locale; const t = translate(locale); |
