Sets output to static (Astro default) with path-based i18n routing (/en/, /fr/) and no unprefixed default-locale route, per the hub landing page design spec.
13 lines
237 B
JavaScript
13 lines
237 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
|
|
export default defineConfig({
|
|
site: 'https://www.ombrora.com',
|
|
i18n: {
|
|
locales: ['en', 'fr'],
|
|
defaultLocale: 'en',
|
|
routing: {
|
|
prefixDefaultLocale: true,
|
|
},
|
|
},
|
|
});
|