-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.js
156 lines (155 loc) · 4.15 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
const path = require(`path`)
module.exports = {
flags: {
DEV_SSR: true,
},
siteMetadata: {
en: {
title: `Tabi Traveler`,
description: `Tabi Traveler photography, portfolio, blog and store`,
},
ja: {
title: `旅Traveler`,
description: `旅Traveler 国際カップル写真家、 ポートフォリオ、ブログ、 プリント`,
},
blog: {
en: {
title: `Blog | Tabi Traveler`,
description: `Tabi Traveler photography blog about international travel, photography`,
},
ja: {
title: `ブログ 旅Traveler`,
description: `旅Traveler 国際カップル写真家 ブログ、外国、内国、旅行、写真`,
},
},
portfolio: {
en: {
title: `Portfolio | Tabi Traveler`,
description: `Tabi Traveler portfolio of best photography from across the world`,
},
ja: {
title: `ポートフォリオ 旅Traveler`,
description: `旅Traveler 国際カップル写真家 ポートフォリオ`,
},
},
prints: {
en: {
title: `Prints | Tabi Traveler`,
description: `Tabi Traveler High qaulity photographic travel prints and frames, Free Worldwide shipping`,
},
ja: {
title: `プリント 旅Traveler`,
description: `旅Traveler 国際カップル写真家 高い質プリント店 無料国際発送`,
},
},
title: `Tabi Traveler`,
description: `Tabi Traveler photography, portfolio, blog and store`,
author: `Ross Neilson`,
siteUrl: `https://www.tabitraveler.com`,
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
name: `images`,
path: path.join(__dirname, `src`, `img`),
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: "portfolio",
path: `${__dirname}/src/markdown/portfolio`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: "blog",
path: `${__dirname}/src/markdown/blog`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: "store",
path: `${__dirname}/src/markdown/store`,
},
},
{
resolve: `gatsby-source-filesystem`,
options: {
name: "general",
path: `${__dirname}/src/markdown/general`,
},
},
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Tabi Traveler - Photography`,
short_name: `Tabi Traveler`,
start_url: `/`,
background_color: `#8698da`,
theme_color: `#8698da`,
display: `standalone`,
icon: `static/icon-512x512.png`,
cache_busting_mode: "none",
},
},
{
resolve: `gatsby-plugin-intl`,
options: {
path: `${__dirname}/src/intl`,
languages: [`en`, `ja`],
defaultLanguage: `en`,
redirect: true,
},
},
{
resolve: "gatsby-plugin-typography",
options: {
pathToConfigModule: "src/utils/typography.js",
omitGoogleFont: true,
},
},
{
resolve: `gatsby-plugin-styled-components`,
},
`gatsby-plugin-react-helmet`,
`gatsby-plugin-netlify-cms`,
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 500,
withWebp: true,
},
},
{
resolve: `gatsby-remark-table-of-contents`,
options: {
exclude: ["Table of Contents", "目次", "「コナのコメント」"],
tight: true,
ordered: false,
fromHeading: 1,
toHeading: 10,
className: "table-of-contents",
},
},
`gatsby-remark-autolink-headers`,
],
},
},
`gatsby-plugin-netlify-cms-paths`,
`gatsby-plugin-nprogress`,
"gatsby-plugin-loadable-components-ssr",
`gatsby-plugin-sitemap`,
`gatsby-plugin-image`,
`gatsby-plugin-sharp`,
`gatsby-transformer-sharp`,
`gatsby-plugin-scroll-reveal`,
],
}