-
Notifications
You must be signed in to change notification settings - Fork 14
/
netlify.toml
176 lines (141 loc) · 3.7 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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
[build]
publish = "build"
command = "vite build"
# ---
# Redirects
# ---
[[redirects]]
from = "/rss.xml"
to = "/api/rss.xml"
status = 301
[[redirects]]
from = "/rss"
to = "/api/rss.xml"
status = 301
[[redirects]]
from = "/essential"
to = "/blog/essential-tools-wordpress-development"
status = 301
[[redirects]]
from = "/quina"
to = "/announcing-quina-my-first-app"
status = 301
[[redirects]]
from = "/announcing-quina-my-first-app"
to = "/blog/announcing-quina-my-first-app"
status = 301
[[redirects]]
from = "/creating-custom-gutenberg-blocks-with-the-block-lab-plugin"
to = "/blog/creating-custom-gutenberg-blocks-with-the-block-lab-plugin"
status = 301
[[redirects]]
from = "/a-new-headless-site-with-gridsome"
to = "/blog/a-new-headless-site-with-gridsome"
status = 301
[[redirects]]
from = "/goodbye-instagram"
to = "/blog/goodbye-instagram"
status = 301
[[redirects]]
from = "/goodbye-wordpress"
to = "/blog/goodbye-wordpress"
status = 301
[[redirects]]
from = "/how-to-connect-local-with-codekit"
to = "/blog/how-to-connect-local-with-codekit"
status = 301
[[redirects]]
from = "/confirm-all-ids-are-unique-in-an-array-of-javascript-objects-using-map-and-sets"
to = "/blog/confirm-all-ids-are-unique-in-an-array-of-javascript-objects-using-map-and-sets"
status = 301
[[redirects]]
from = "/adding-gutenberg-full-and-wide-width-image-support-to-your-wordpress-theme"
to = "/blog/adding-gutenberg-full-and-wide-width-image-support-to-your-wordpress-theme"
status = 301
[[redirects]]
from = "/lets-learn-css-variables"
to = "/blog/lets-learn-css-variables"
status = 301
[[redirects]]
from = "/new-site-new-theme-for-2018"
to = "/blog/new-site-new-theme-for-2018"
status = 301
[[redirects]]
from = "/five-ways-to-become-a-better-designer-that-arent-design"
to = "/blog/five-ways-to-become-a-better-designer-that-arent-design"
status = 301
[[redirects]]
from = "/essential-tools-wordpress-development"
to = "/blog/essential-tools-wordpress-development"
status = 301
[[redirects]]
from = "/the-five-things-i-wish-somebody-had-told-me-as-a-design-student"
to = "/blog/the-five-things-i-wish-somebody-had-told-me-as-a-design-student"
status = 301
[[redirects]]
from = "/wordpress-child-theme-explanation"
to = "/blog/wordpress-child-theme-explanation"
status = 301
[[redirects]]
from = "/why-designers-shouldnt-remake-other-designers-logos"
to = "/blog/why-designers-shouldnt-remake-other-designers-logos"
status = 301
[[redirects]]
from = "/8-student-portfolio-mistakes"
to = "/blog/8-student-portfolio-mistakes"
status = 301
[[redirects]]
from = "/profit-is-not-a-value"
to = "/blog/profit-is-not-a-value"
status = 301
[[redirects]]
from = "/filetypes"
to = "/blog/filetypes"
status = 301
[[redirects]]
from = "/pantone"
to = "/blog/pantone"
status = 301
[[redirects]]
from = "/12-things"
to = "/blog/12-things"
status = 301
[[redirects]]
from = "/writing-and-speaking"
to = "/about-me"
status = 301
[[redirects]]
from = "/appearances"
to = "/about-me"
status = 301
[[redirects]]
from = "/about"
to = "/about-me"
status = 301
# ---
# Headers
# ---
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "SAMEORIGIN"
[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
[[headers]]
for = "*.js"
[headers.values]
Cache-Control = "public, max-age=31536000"
[[headers]]
for = "*.css"
[headers.values]
Cache-Control = "public, max-age=2592000"
[[headers]]
for = "*.png"
[headers.values]
Cache-Control = "public, max-age=2592000"
[[headers]]
for = "*.jpg"
[headers.values]
Cache-Control = "public, max-age=2592000"