mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
feat: add prefetch for pagination pages
This commit is contained in:
@@ -3,24 +3,22 @@ import preact from '@astrojs/preact';
|
||||
import tailwind from '@astrojs/tailwind';
|
||||
import { astroImageTools } from 'astro-imagetools';
|
||||
import { remarkReadingTime, remarkWidont } from './src/utils';
|
||||
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
import prefetch from "@astrojs/prefetch";
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
markdown: {
|
||||
shikiConfig: {
|
||||
theme: 'nord',
|
||||
langs: [],
|
||||
wrap: true,
|
||||
},
|
||||
},
|
||||
integrations: [
|
||||
mdx({
|
||||
remarkPlugins: [remarkReadingTime, remarkWidont],
|
||||
}),
|
||||
tailwind(),
|
||||
preact({ compat: true }),
|
||||
astroImageTools,
|
||||
],
|
||||
});
|
||||
markdown: {
|
||||
shikiConfig: {
|
||||
theme: 'nord',
|
||||
langs: [],
|
||||
wrap: true
|
||||
}
|
||||
},
|
||||
integrations: [mdx({
|
||||
remarkPlugins: [remarkReadingTime, remarkWidont]
|
||||
}), tailwind(), preact({
|
||||
compat: true
|
||||
}), astroImageTools, prefetch()]
|
||||
});
|
||||
Reference in New Issue
Block a user