feat: 修改宽度

This commit is contained in:
KazooTTT
2024-10-11 21:16:20 +08:00
parent 0e780b4200
commit a5e1e93c0d
3 changed files with 49 additions and 30 deletions

View File

@ -11,34 +11,41 @@ import icon from 'astro-icon'
import vercel from '@astrojs/vercel/serverless'
import react from '@astrojs/react';
import react from '@astrojs/react'
// https://astro.build/config
export default defineConfig({
site: 'https://example.me',
integrations: [expressiveCode(expressiveCodeOptions), tailwind({
applyBaseStyles: false
}), sitemap(), mdx(), icon(), react()],
markdown: {
remarkPlugins: [remarkUnwrapImages, remarkReadingTime],
rehypePlugins: [
[
rehypeExternalLinks,
{
target: '_blank',
rel: ['nofollow, noopener, noreferrer']
}
]
],
remarkRehype: {
footnoteLabelProperties: {
className: ['']
}
}
},
prefetch: true,
output: 'server',
adapter: vercel({
webAnalytics: { enabled: true }
})
})
site: 'https://blog.kazoottt.top',
integrations: [
expressiveCode(expressiveCodeOptions),
tailwind({
applyBaseStyles: false
}),
sitemap(),
mdx(),
icon(),
react()
],
markdown: {
remarkPlugins: [remarkUnwrapImages, remarkReadingTime],
rehypePlugins: [
[
rehypeExternalLinks,
{
target: '_blank',
rel: ['nofollow, noopener, noreferrer']
}
]
],
remarkRehype: {
footnoteLabelProperties: {
className: ['']
}
}
},
prefetch: true,
output: 'server',
adapter: vercel({
webAnalytics: { enabled: true }
})
})