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/lib | |
| parent | 2fcbccfbd49c6eaf433272749e32589a6f490200 (diff) | |
| parent | e08094210c15ee0114ae4f11142aa5f89d81c7aa (diff) | |
Merge pull request #1 from Sycamost/master
Update
Diffstat (limited to 'src/lib')
| -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; |
