forked from jamstack/jamstack.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
79 lines (63 loc) · 1.69 KB
/
netlify.toml
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
[build]
command = "npm run build"
publish = "dist"
[build.environment]
NODE_VERSION = "12.16.2"
NODE_ENV = "production"
[dev]
command = "npm run start"
publish = "dist"
[[redirects]]
from = "/conference"
to = "/conf"
status = 301
[[redirects]]
from = "/conf"
to = "https://jamstackconf.com/conf/"
status = 200
[[redirects]]
from = "/conf/cfp"
to = "https://docs.google.com/forms/d/e/1FAIpQLSc-z50GyD7zXzr_JCn2M1NBFZ-h65kSdu7zn43V1u2qAKO3ew/viewform"
status = 302
[[redirects]]
from = "/conf/*"
to = "https://jamstackconf.com/conf/:splat"
status = 200
[[redirects]]
from = "/discord"
to = "https://discord.gg/jamstack"
status = 302
[[redirects]]
from = "/best-practices"
to = "/resources"
status = 301
[[redirects]]
from = "/diversity"
to = "/code-of-conduct"
status = 301
[[redirects]]
from = "/benefits"
to = "/why-jamstack"
status = 301
[[redirects]]
from = "/img/og/glossary/:term/:summary"
to = "https://res.cloudinary.com/netlify/image/fetch/c_fit,l_text:Roboto_56_bold::term,co_rgb:FFFFFF,g_north_west,y_75,x_100,w_1000/c_fit,l_text:Roboto_38_light::summary,co_rgb:FFFFFF,g_north_west,y_200,x_160,w_885/https://jamstack.org/img/og/glossary-card-bg.png"
status = 200
[[redirects]]
from = "/glossary/*"
to = "/glossary/contribute/index.html"
status = 404
[[redirects]]
from = "/headless-cms/keystone-5/"
to = "/headless-cms/keystone/"
status = 301
[[redirects]]
from = "/survey/"
to = "/survey/2022/"
status = 302
[[redirects]]
from = "/survey/2020/"
to = "https://www.netlify.com/blog/2020/05/27/state-of-the-jamstack-survey-2020-first-results/"
status = 301
[[plugins]]
package = "./plugins/keep-dot-cache-folder"