-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgatsby-config.js
109 lines (109 loc) · 2.8 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
module.exports = {
siteMetadata: {
title: `RYounus`,
author: `Rahman Younus`,
description: `My experiences as a Software Developer`,
siteUrl: `https://ryounus.dev/`,
icon: `https://ryounus.dev/assets/icon.png`,
social: {
twitter: `rahmancodes`,
},
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content/posts`,
name: `posts`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/content/assets`,
name: `assets`,
},
},
{
resolve: "gatsby-plugin-react-svg",
options: {
rule: {
include: /assets/,
},
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
showCaptions: true,
maxWidth: 650,
},
},
{
resolve: `gatsby-remark-responsive-iframe`,
options: {
wrapperStyle: `margin-bottom: 1.0725rem`,
},
},
{
resolve: "@weknow/gatsby-remark-twitter",
options: {
align: `center`,
},
},
{
resolve: `gatsby-remark-acronyms`,
options: {
acronyms: {
CSS: `Cascading Style Sheets`,
HTML: `Hypertext Markup Language`,
PHP: `Hypertext Preprocessor`,
JS: `JavaScript`,
TS: `TypeScript`,
FOMO: `Fear Of Missing Out`,
"R&D": `Research & Development`,
"In'sha'Allah": `God willing`,
Alhamdulilah: `All the praise and thanks be to God`,
},
},
},
`gatsby-remark-prismjs`,
`gatsby-remark-copy-linked-files`,
`gatsby-remark-smartypants`,
`gatsby-remark-reading-time`,
`gatsby-remark-a11y-emoji`,
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
`gatsby-plugin-feed`,
{
resolve: `gatsby-plugin-manifest`,
//PWA manifest
options: {
name: `RYounus Site`,
short_name: `RYounus`,
description: `My experiences as a Software Developer`,
start_url: `/`,
background_color: `#E5E9F0`,
theme_color: `#434C5E`,
display: `minimal-ui`,
icon: `content/assets/gatsby-icon.png`, // Todo: Update the correct icon when ready
},
},
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
`gatsby-plugin-postcss`,
{
resolve: "gatsby-plugin-brotli",
options: {
extensions: ["css", "html", "js", "svg"],
},
},
],
}