-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathastro.config.mjs
More file actions
35 lines (35 loc) · 955 Bytes
/
astro.config.mjs
File metadata and controls
35 lines (35 loc) · 955 Bytes
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
import { defineConfig } from 'astro/config';
import { remarkReadingTime } from './src/remark-plugins/readTime';
import { remarkCustomEmoji } from './src/remark-plugins/customEmoji';
import mdx from "@astrojs/mdx";
import expressiveCode from "astro-expressive-code";
// https://astro.build/config
export default defineConfig({
site: 'https://split.pet',
markdown: {
remarkPlugins: [remarkReadingTime, remarkCustomEmoji]
},
integrations: [expressiveCode(), mdx()],
redirects: {
"/blog/setup": {
status: 301,
destination: "/docs/setup"
},
"/domainlist": {
status: 301,
destination: "/docs/split/domainlist"
},
"/blog/introduction": {
status: 301,
destination: "/blog/2024/05/introduction"
},
"/blog/hello-world": {
status: 301,
destination: "/blog/2024/04/hello-world"
},
"/tabs": {
status: 301,
destination: "https://tabs.split.pet/"
}
}
});