-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnetlify.toml
More file actions
52 lines (42 loc) · 922 Bytes
/
netlify.toml
File metadata and controls
52 lines (42 loc) · 922 Bytes
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
[build]
publish = "public"
functions = "functions"
[build.environment]
HUGO_VERSION = "0.80.0"
NODE_VERSION = "15.5.1"
NPM_VERSION = "7.3.0"
[context.production]
command = "hugo --gc --minify && npm run build:functions"
[context.deploy-preview]
command = "hugo --gc --minify"
[context.branch-deploy]
command = "hugo --gc --minify"
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
sitemapPath = "/sitemap.xml"
providers = [
"google",
"bing",
"yandex"
]
[[redirects]]
from = "/playbook/"
to = "/playbook/introduction/"
status = 301
force = false
[[redirects]]
from = "/products/"
to = "/products/glimpse/"
status = 301
force = false
[[redirects]]
from = "/community/"
to = "/community/our-story/"
status = 301
force = false
[[redirects]]
from = "/about/"
to = "/community/our-story/"
status = 301
force = false