-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnetlify.toml
102 lines (82 loc) · 1.96 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
[build]
publish = "public"
command = "hugo --gc --minify"
[context.production.environment]
HUGO_VERSION = "0.70.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.split1]
command = "hugo --gc --minify --enableGitInfo"
[context.split1.environment]
HUGO_VERSION = "0.70.0"
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.70.0"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.70.0"
[context.next.environment]
HUGO_ENABLEGITINFO = "true"
[[redirects]]
from = "/slides"
to = "/talks"
status = 301
force = true
[[redirects]]
from = "/slides/*"
to = "https://huijing.github.io/slides/:splat"
status = 301
force = true
[[redirects]]
from = "/demos"
to = "https://huijing.github.io/demos"
status = 301
force = true
[[redirects]]
from = "/demos/*"
to = "https://huijing.github.io/demos/:splat"
status = 301
force = true
[[redirects]]
from = "/soundboard"
to = "https://huijing.github.io/soundboard"
status = 301
force = true
[[redirects]]
from = "/css-property-syntax"
to = "https://huijing.github.io/css-property-syntax"
status = 301
force = true
[[redirects]]
from = "/css-colours"
to = "https://huijing.github.io/css-colours"
status = 301
force = true
[[redirects]]
from = "/generic-fonts"
to = "https://huijing.github.io/generic-fonts"
status = 301
force = true
[[redirects]]
from = "/touch-action"
to = "https://huijing.github.io/touch-action"
status = 301
force = true
[[redirects]]
from = "/zh-type"
to = "https://huijing.github.io/zh-type"
status = 301
force = true
[[redirects]]
from = "/html-piano"
to = "https://huijing.github.io/html-piano"
status = 301
force = true
[[redirects]]
from = "/layouts-demo"
to = "https://huijing.github.io/layouts-demo"
status = 301
force = true