mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
feat: head component with excellent SEO
This commit is contained in:
parent
5d3a3b0321
commit
7659bbd1e2
8 changed files with 221 additions and 75 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue