forked from ponylang/pony-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
51 lines (42 loc) · 1.18 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
[Settings]
# Added automatically by the Netlify CLI. It has no effect during normal
# Git-backed deploys.
ID = "Your_Site_ID"
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
base = ""
publish = "public/"
command = "bash build.bash"
# Have to set HUGO_VERSION for each environment otherwise we get the 0.17 default
[context.production.environment]
HUGO_VERSION = "0.52"
[context.deploy-preview.environment]
HUGO_VERSION = "0.52"
[context.branch-deploy.environment]
HUGO_VERSION = "0.52"
[[redirects]]
from = "/expressions/exceptions.html"
to = "/expressions/errors.html"
status = 301
force = true
[[redirects]]
from = "/capabilities.html"
to = "/reference-capabilities.html"
status = 301
force = true
[[redirects]]
from = "/capabilities/object-capabilities.html"
to = "/object-capabilities.html"
status = 301
force = true
[[redirects]]
from = "/capabilities/trust-boundary.html"
to = "/object-capabilities/trust-boundary.html"
status = 301
force = true
[[redirects]]
from = "/capabilities/*"
to = "/reference-capabilities/:splat"
status = 301
force = true