-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.mjs
66 lines (64 loc) · 1.89 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
61
62
63
64
65
66
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import sitemap from "@astrojs/sitemap";
import starlightLinksValidator from 'starlight-links-validator'
import starlightImageZoom from 'starlight-image-zoom'
import starlightHeadingBadges from 'starlight-heading-badges'
import robotsTxt from "astro-robots-txt";
// https://astro.build/config
export default defineConfig({
site: 'https://guides.gamehostbros.com',
integrations: [
starlight({
plugins: [
starlightLinksValidator(),
starlightHeadingBadges(),
starlightImageZoom()
],
title: 'Game Host Bros Guides',
description: 'Learn how to create the best game server with our easy to follow guides.',
lastUpdated: false,
customCss: ['./src/styles/custom.css'],
logo: {
light: './src/assets/light-logo.png',
dark: './src/assets/dark-logo.png',
replacesTitle: true
},
social: {
discord: 'https://discord.gg/FN4XgbAwzr',
github: 'https://github.com/Game-Host-Bros',
youtube: 'https://www.youtube.com/@GameHostBros',
facebook: 'https://www.facebook.com/gamehostbros/',
'x.com': 'https://x.com/gamehostbros',
},
components: {
Pagination: "./src/components/CustomPagination.astro"
},
sidebar: [{
label: 'Getting Started',
autogenerate: {
directory: 'getting-started'
}
}, {
label: 'Game Guides',
collapsed: true,
autogenerate: { directory: 'games' }
}, {
label: 'Troubleshooting',
collapsed: true,
autogenerate: { directory: 'troubleshooting' }
}, {
label: 'Account',
collapsed: true,
autogenerate: {
directory: 'account'
}
}, {
label: 'Support',
link: 'https://portal.gamehostbros.com/supporttickets.php'
}]
}), sitemap({
changefreq: 'daily',
lastmod: new Date(),
}), robotsTxt()]
});