lot of content
This commit is contained in:
parent
9b91b02d90
commit
082b193d23
31 changed files with 338 additions and 70 deletions
|
@ -6,14 +6,29 @@ import i18n from "astro-i18n";
|
|||
// https://astro.build/config
|
||||
import image from "@astrojs/image";
|
||||
import mdx from "@astrojs/mdx";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: "https://www.nardu.in",
|
||||
experimental: {
|
||||
contentCollections: true,
|
||||
},
|
||||
markdown: {
|
||||
syntaxHighlight: "prism",
|
||||
},
|
||||
integrations: [i18n(), image(), mdx()],
|
||||
integrations: [
|
||||
i18n(),
|
||||
image(),
|
||||
mdx(),
|
||||
sitemap({
|
||||
i18n: {
|
||||
defaultLocale: "fr", // All urls that don't contain `en`
|
||||
locales: {
|
||||
fr: "fr-FR", // The `defaultLocale` value must present in `locales` keys
|
||||
en: "en-US",
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue