-
Notifications
You must be signed in to change notification settings - Fork 32
/
astro.config.mjs
43 lines (42 loc) · 1.26 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
import mdx from "@astrojs/mdx";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import astroExpressiveCode from "astro-expressive-code";
import { defineConfig } from "astro/config";
import remark from "remark-directive";
import { customAsidePlugin } from "./src/lib/aside/customAsidePlugin";
import { redirects } from "./src/utils/redirects";
// https://astro.build/config
export default defineConfig({
// experimental: {
// contentCollectionCache: true,
// },
redirects: redirects,
markdown: {
// shikiConfig: {
// theme: theme,
// },
remarkPlugins: [remark, customAsidePlugin],
},
integrations: [
tailwind(),
sitemap({
lastmod: new Date("2024-06-27"),
}),
react(),
astroExpressiveCode({
themes: ["light-plus", "dark-plus"],
useDarkModeMediaQuery: true,
themeCssSelector: (theme) => `[data-theme='${theme.name}']`,
styleOverrides: {
terminalTitlebarForeground: "var(--theme-header-bg)",
terminalTitlebarDotsForeground: "var(--three-dots-bg)",
terminalTitlebarBackground: "var(--theme-header-bg)",
terminalTitlebarDotsOpacity: "1",
},
}),
mdx(),
],
site: "https://akash.network",
});