-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgatsby-config.mjs
More file actions
100 lines (98 loc) · 2.39 KB
/
gatsby-config.mjs
File metadata and controls
100 lines (98 loc) · 2.39 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
import path from 'path'
import { fileURLToPath } from 'url'
import remarkMath from 'remark-math'
import rehypeKatex from 'rehype-katex'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
export default {
plugins: [
'gatsby-plugin-image',
'gatsby-plugin-theme-ui',
'gatsby-plugin-sharp',
'gatsby-transformer-yaml',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-plugin-mdx',
options: {
extensions: ['.mdx', '.md'],
mdxOptions: {
remarkPlugins: [[remarkMath, { singleDollarTextMath: true }]],
rehypePlugins: [rehypeKatex],
},
gatsbyRemarkPlugins: [
'gatsby-remark-smartypants',
{
resolve: 'gatsby-remark-autolink-headers',
options: {
isIconAfterHeader: true,
},
},
{
resolve: `gatsby-remark-images`,
options: {
withWebp: true,
linkImagesToOriginal: true,
}
},
{
resolve: 'gatsby-remark-copy-linked-files',
options: {
ignoreFileExtensions: ['png', 'jpg', 'jpeg', 'bmp', 'tiff'],
},
},
{
resolve: `gatsby-remark-prismjs`,
options: {
classPrefix: 'language-',
inlineCodeMarker: null,
aliases: {},
noInlineHighlight: true,
},
},
],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: path.join(__dirname, 'src/images'),
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'data',
path: path.join(__dirname, 'data'),
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'writeups',
path: path.join(__dirname, 'writeups'),
},
},
],
siteMetadata: {
title: 'TJCSC',
titleTemplate: '%s | TJCSC',
description:
'TJHSST Computer Security Club is designed to introduce students to ethical hacking',
url: 'https://tjcsec.club',
menuLinks: [
{
name: 'Presentations',
link: '/presentations',
},
{
name: 'CTF',
link: '/ctf',
},
{
name: 'Writeups',
link: '/writeups',
},
],
},
};