-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgatsby-config.js
95 lines (95 loc) · 2.25 KB
/
gatsby-config.js
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
module.exports = {
pathPrefix: '/csc',
plugins: [
'gatsby-plugin-theme-ui',
'gatsby-plugin-react-helmet',
'gatsby-plugin-sharp',
'gatsby-transformer-yaml',
'gatsby-transformer-sharp',
{
resolve: 'gatsby-plugin-mdx',
options: {
defaultLayouts: {
default: require.resolve('./src/templates/writeup.js'),
},
extensions: ['.mdx', '.md'],
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,
},
},
],
plugins: [
'gatsby-remark-autolink-headers', // stupid hack https://github.com/gatsbyjs/gatsby/issues/15486
],
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'images',
path: `${__dirname}/src/images`,
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'data',
path: './data/',
},
},
{
resolve: 'gatsby-source-filesystem',
options: {
name: 'writeups',
path: './writeups/',
},
},
],
siteMetadata: {
title: 'TJCSC',
titleTemplate: '%s | TJCSC',
description:
'TJHSST Computer Security Club is designed to introduce students to ethical hacking',
url: 'https://activities.tjhsst.edu',
menuLinks: [
{
name: 'Presentations',
link: '/presentations',
},
{
name: 'CTF',
link: '/ctf',
},
{
name: 'Writeups',
link: '/writeups',
},
],
},
};