-
Notifications
You must be signed in to change notification settings - Fork 2
/
gatsby-config.js
114 lines (113 loc) · 2.89 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/* eslint-disable @typescript-eslint/camelcase */
require(`dotenv`).config({
path: `.env`,
})
module.exports = {
siteMetadata: {
// Used for the title template on pages other than the index site
siteTitle: `Big O Visualizer`,
// Default title of the page
siteTitleAlt: `Big O Visualizer by Martin Devillers`,
// Can be used for e.g. JSONLD
siteHeadline: `Big O Visualizer by Martin Devillers`,
// Will be used to generate absolute URLs for og:image etc.
siteUrl: `https://omicron.devillers.nl`,
// Used for SEO
siteDescription: `Visualize the time complexity of algorithms.`,
// Will be set on the <html /> tag
siteLanguage: `en`,
// Used for og:image and must be placed inside the `static` folder
siteImage: `/banner.png`,
// Twitter Handle
author: `@MartinDevillers`,
},
plugins: [
{
resolve: `@lekoarts/gatsby-theme-minimal-blog`,
options: {
blogPath: `/news`,
navigation: [
{
title: `Docs`,
slug: `/docs`,
},
{
title: `Demo`,
slug: `/demo`,
},
{
title: `Live`,
slug: `/live`,
},
{
title: `News`,
slug: `/news`,
},
{
title: `About`,
slug: `/about`,
},
],
externalLinks: [
{
name: `Source`,
url: `https://github.com/MartinDevillers/omicron/`,
},
],
feedTitle: `Big O Visualizer by Martin Devillers`,
mdx: false,
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: process.env.GOOGLE_ANALYTICS_ID,
},
},
`gatsby-plugin-sitemap`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Big O Visualizer`,
short_name: `Big O Vis`,
description: `Visualize the time complexity of algorithms.`,
start_url: `/`,
background_color: `#fff`,
theme_color: `#6B46C1`,
display: `standalone`,
icons: [
{
src: `/android-chrome-192x192.png`,
sizes: `192x192`,
type: `image/png`,
},
{
src: `/android-chrome-512x512.png`,
sizes: `512x512`,
type: `image/png`,
},
],
},
},
`gatsby-plugin-offline`,
`gatsby-plugin-netlify`,
{
resolve: `gatsby-plugin-mdx`,
options: {
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 960,
quality: 90,
linkImagesToOriginal: false,
},
},
`gatsby-remark-copy-linked-files`,
],
},
},
// `gatsby-plugin-webpack-bundle-analyser-v2`,
],
}