mirror of
https://github.com/YouHaveTrouble/youhavetrouble.github.io.git
synced 2026-05-11 22:06:56 +00:00
prefetch sites on hovering their links in navbar
This commit is contained in:
+4
-2
@@ -1,5 +1,4 @@
|
||||
import { defineConfig } from 'astro/config'
|
||||
import svelte from '@astrojs/svelte'
|
||||
import mdx from '@astrojs/mdx'
|
||||
import remarkGfm from 'remark-gfm'
|
||||
import remarkSmartypants from 'remark-smartypants'
|
||||
@@ -8,7 +7,10 @@ import rehypeExternalLinks from 'rehype-external-links'
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: 'https://youhavetrouble.me',
|
||||
integrations: [mdx(), svelte()],
|
||||
prefetch: {
|
||||
defaultStrategy: 'hover',
|
||||
},
|
||||
integrations: [mdx()],
|
||||
markdown: {
|
||||
shikiConfig: {
|
||||
theme: 'nord',
|
||||
|
||||
Reference in New Issue
Block a user