mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
refactor: update theme configuration and background styles
This commit is contained in:
parent
8eb0876c01
commit
d148649454
9 changed files with 129 additions and 4214 deletions
|
@ -4,7 +4,6 @@ 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'
|
||||
import compress from 'astro-compress'
|
||||
import robotsTxt from 'astro-robots-txt'
|
||||
import { defineConfig } from 'astro/config'
|
||||
|
@ -61,16 +60,6 @@ export default defineConfig({
|
|||
sitemap: true,
|
||||
}),
|
||||
compress(),
|
||||
swup({
|
||||
theme: false,
|
||||
animationClass: 'transition-swup-',
|
||||
cache: true,
|
||||
preload: true,
|
||||
accessibility: true,
|
||||
smoothScrolling: true,
|
||||
updateHead: true,
|
||||
updateBodyClass: true,
|
||||
}),
|
||||
],
|
||||
markdown: {
|
||||
remarkPlugins: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue