diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-05 21:32:43 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-06 22:40:07 +0100 |
| commit | aba5b4e4879712b691532f855eb718d12dd5b9e5 (patch) | |
| tree | 102e3fec16e5d057c4c65a0a2e95a32d2a061bdd /src/lib/localeStaticPaths.ts | |
| parent | 08ec69cb378d67f31c11f1f934dd9ebdb32d0130 (diff) | |
Moves localeStaticPaths
Diffstat (limited to 'src/lib/localeStaticPaths.ts')
| -rw-r--r-- | src/lib/localeStaticPaths.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/localeStaticPaths.ts b/src/lib/localeStaticPaths.ts new file mode 100644 index 0000000..55c3d9a --- /dev/null +++ b/src/lib/localeStaticPaths.ts @@ -0,0 +1,10 @@ +import type Locale from '../types/Locale'; + +// Defines what values to insert into the [locale] URL path parameter +// when generating a static site +const localeStaticPaths: { params: { locale: Locale} }[] = [ + { params: { locale: 'sco' } }, + { params: { locale: 'en-GB' } }, +] + +export default localeStaticPaths; |
