aboutsummaryrefslogtreecommitdiff
path: root/astro.config.mjs
blob: d8e770809ebbceedda510a0fb43b5ff19c50db7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { defineConfig } from "astro/config";
import { remarkReadingTime } from "./src/plugins/remarkReadingTime";
import sitemap from "@astrojs/sitemap";

export default defineConfig({
	site: "https://popov.link",
	output: "static",
	integrations: [sitemap()],
	build: {
		inlineStylesheets: "always",
	},
	markdown: {
		remarkPlugins: [remarkReadingTime],
		shikiConfig: {
			theme: "vitesse-dark",
		},
	},
	redirects: {
		"/blog": {
			destination: "/",
			status: 301,
		},
	},
});