forked from LadybirdBrowser/ladybird.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
28 lines (26 loc) · 962 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
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import mdx from "@astrojs/mdx";
// https://astro.build/config
export default defineConfig({
site: "https://ladybird.org",
integrations: [tailwind(), sitemap(), mdx()],
// Special case the initial posts from before the astro transition.
// These are the super-SEO'd links that were shared around.
redirects: {
"/announcement": "/posts/announcement",
"/announcement/": "/posts/announcement",
"/announcement.html": "/posts/announcement",
"/fork": "/posts/fork",
"/fork/": "/posts/fork",
"/fork.html": "/posts/fork",
"/thanks": "/posts/thanks",
"/thanks/": "/posts/thanks",
"/thanks.html": "/posts/thanks",
"/why-ladybird": "/posts/why-ladybird",
"/why-ladybird/": "/posts/why-ladybird",
"/why-ladybird.html": "/posts/why-ladybird",
"/wire.pdf": "/payment-details",
},
});