feat: add mdx & sitemap support (for real)
This commit is contained in:
parent
1cf002b8b8
commit
ed0caf5727
3 changed files with 62 additions and 2 deletions
|
@ -1,16 +1,24 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
|
||||
import sitemap from '@astrojs/sitemap';
|
||||
|
||||
import mdx from '@astrojs/mdx';
|
||||
|
||||
export default defineConfig({
|
||||
site: 'https://terminal-blog.example.com',
|
||||
base: '/',
|
||||
trailingSlash: 'ignore',
|
||||
|
||||
build: {
|
||||
format: 'directory'
|
||||
},
|
||||
|
||||
markdown: {
|
||||
shikiConfig: {
|
||||
theme: 'nord',
|
||||
wrap: true
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
integrations: [sitemap(), mdx()]
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue