-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
81 lines (80 loc) · 2.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "heschl.dev",
expressiveCode: {
plugins: [pluginCollapsibleSections()],
},
social: {
github: "https://github.com/jonasheschl",
mastodon: "https://mastodon.de/@jones",
//email: "[email protected]",
},
sidebar: [
{
label: "Welcome",
autogenerate: { directory: "pwnmemo/welcome" },
},
{
label: "Targets",
autogenerate: { directory: "pwnmemo/targets" },
},
{
label: "Tools",
autogenerate: { directory: "pwnmemo/tools" },
},
{
label: "Binaries",
autogenerate: { directory: "pwnmemo/binaries" },
},
{
label: "Misc",
autogenerate: { directory: "pwnmemo/misc" },
},
{
label: "Web",
autogenerate: { directory: "pwnmemo/web" },
},
{
label: "Rev",
autogenerate: { directory: "pwnmemo/rev" },
},
{
label: "CTF Writeups",
collapsed: true,
items: [
{
label: "Google CTF 2023 — Under-Construction",
link: "/blog/2023-06-26-google-ctf-2023-under-construction-writeup",
attrs: { target: "_blank", style: "font-style: italic" },
},
{
label: "openECSC 2024 – Life Quiz CTF Writeup",
link: "/blog/2024-03-24-openecsc-2024-life-quiz-ctf-writeup",
attrs: { target: "_blank", style: "font-style: italic" },
},
],
},
],
components: {
PageFrame: "./src/components/PageFrameOverride.astro",
Pagination: "./src/components/PaginationOverride.astro",
Header: "./src/components/HeaderOverride.astro",
},
customCss: [
"@fontsource/ibm-plex-sans/400.css",
"@fontsource/ibm-plex-sans/600.css",
"@fontsource/jetbrains-mono/400.css",
"./src/styles/global.css",
],
}),
],
redirects: {
"/pwnmemo": "/pwnmemo/welcome/welcome",
"/pwnmemo/welcome": "/pwnmemo/welcome/welcome",
},
});