-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
30 lines (27 loc) · 967 Bytes
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import icon from "astro-icon";
import { remarkReadingTime } from "./src/utils/all";
import rehypePluginImageNativeLazyLoading from "rehype-plugin-image-native-lazy-loading";
import favicons from "astro-favicons";
export default defineConfig({
site: "https://codingly.netlify.app",
markdown: {
remarkPlugins: [remarkReadingTime],
rehypePlugins: [rehypePluginImageNativeLazyLoading],
extendDefaultPlugins: true,
},
integrations: [tailwind(), mdx(), sitemap({
filter: (page) => page !== "https://codingly.netlify.app/admin",
changefreq: "weekly",
priority: 0.7,
lastmod: new Date(),
customPages: [
"https://codingly.netlify.app/blog",
"https://codingly.netlify.app/about",
"https://codingly.netlify.app/contact",
],
}), icon(), favicons()],
});