-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
60 lines (58 loc) · 1.38 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import blog from 'starlight-blog'
import svelte from '@astrojs/svelte'
import tailwind from '@astrojs/tailwind'
// https://astro.build/config
export default defineConfig({
integrations: [
blog({
authors: {
alex: {
name: 'Alex Kontos',
title: 'Founder',
picture: '/alex.jpg',
url: 'https://www.linkedin.com/in/alex-kontos'
}
}
}),
starlight({
components: {
MarkdownContent: 'starlight-blog/overrides/MarkdownContent.astro',
PageFrame: '~/components/CustomPageFrame.astro',
Sidebar: 'starlight-blog/overrides/Sidebar.astro',
ThemeSelect: '~/components/NavBar.astro'
},
customCss: ['~/assets/global.scss', '~/fonts/fonts.css'],
title: 'Waterfox',
logo: {
replacesTitle: true,
src: '~/assets/waterfox-logo.svg'
},
social: {
github: 'https://github.com/WaterfoxCo/Waterfox',
mastodon: 'https://mastodon.social/@Waterfox',
twitter: 'https://twitter.com/Waterfoxproject'
},
sidebar: [
{
label: 'Blog',
autogenerate: { directory: 'blog' }
},
{
label: 'Policies',
autogenerate: { directory: 'docs/policies' }
},
{
label: 'Releases',
collapsed: true,
autogenerate: { directory: 'docs/releases' }
}
]
}),
svelte(),
tailwind({
applyBaseStyles: false
})
]
})