-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
29 lines (28 loc) · 898 Bytes
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import tailwind from '@astrojs/tailwind';
import sitemap from '@astrojs/sitemap';
import robotsTxt from 'astro-robots-txt';
import { astroImageTools } from 'astro-imagetools';
// https://astro.build/config
export default defineConfig({
// base: '.', // Set a path prefix.
site: 'https://odagora.com/', // Use to generate your sitemap and canonical URLs in your final build.
trailingSlash: 'always', // Use to always append '/' at end of url
markdown: {
shikiConfig: {
// Choose from Shiki's built-in themes (or add your own)
// https://github.com/shikijs/shiki/blob/main/docs/themes.md
theme: 'monokai',
},
},
integrations: [
react(),
tailwind({}),
sitemap(),
robotsTxt({
sitemap: ['https://odagora.com/sitemap.xml'],
}),
astroImageTools,
],
});