personal-website/astro.config.mjs

35 lines
670 B
JavaScript
Raw Normal View History

2024-03-19 12:59:26 +01:00
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
2024-03-19 12:59:26 +01:00
// https://astro.build/config
export default defineConfig({
site: 'https://cyrilsebek.cz',
integrations: [tailwind(), mdx(), sitemap()],
i18n: {
locales: [
{
path: "cs",
codes: ["cs", "sk"],
},
{
path: "de",
codes: ["de", "gsw"],
},
{
path: "en",
codes: ["en"]
},
{
path: "fr",
codes: ["fr"]
}
],
defaultLocale: "en",
routing: {
prefixDefaultLocale: true
},
}
2024-03-19 12:59:26 +01:00
});