feat: head component with excellent SEO

This commit is contained in:
radishzzz 2025-01-16 07:48:40 +00:00
parent 5d3a3b0321
commit 7659bbd1e2
8 changed files with 221 additions and 75 deletions

View file

@ -1,6 +1,7 @@
// Plugins
import type { ThemeConfig } from './src/types'
import mdx from '@astrojs/mdx'
import partytown from '@astrojs/partytown'
import sitemap from '@astrojs/sitemap'
import { transformerCopyButton } from '@rehype-pretty/transformers'
import swup from '@swup/astro'
@ -35,6 +36,11 @@ export default defineConfig({
base: '/',
trailingSlash: 'always',
integrations: [
partytown({
config: {
forward: ['dataLayer.push'],
},
}),
UnoCSS({ injectReset: true }),
mdx(),
sitemap({