forked from netlify/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
49 lines (45 loc) · 953 Bytes
/
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
[build]
command = "yarn run build"
publish = "dist"
[build.environment]
NODE_VERSION = "8.9.0"
# arrange tag listings on one page,
# but look after people who hack the URL
[[redirects]]
from = "/tag/*"
to = "/tags/#:splat"
status = 302
# The templates listing is the home page
[[redirects]]
from = "/template"
to = "/"
status = 301
[[redirects]]
from = "/templates"
to = "/"
status = 301
# tag page URLs that moved
[[redirects]]
from = "/tags/dark%20mode"
to = "/tags/dark-mode"
status = 301
[[redirects]]
from = "/tags/netlify%20cms"
to = "/tags/netlifycms"
status = 301
[[redirects]]
from = "/tags/netlify%20form"
to = "/tags/netlify-forms"
status = 301
[[redirects]]
from = "/tags/netlify%20forms"
to = "/tags/netlify-forms"
status = 301
[[redirects]]
from = "/tags/online%20store"
to = "/tags/online-store"
status = 301
[[redirects]]
from = "/tags/vuejs"
to = "/tags/vue"
status = 301