-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnetlify.toml
50 lines (38 loc) · 949 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
50
[build]
command = "hugo --gc"
publish = "public"
[[headers]]
for = "/fonts/*"
[headers.values]
Cache-Control = "public, s-maxage=31536000, immutable"
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "public, s-maxage=31536000, immutable"
[context.production.environment]
HUGO_ENV = "production"
HUGO_VERSION = "0.143.1"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_VERSION = "0.143.1"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_VERSION = "0.143.1"
[[redirects]]
from = "/main.min.css"
to = "/main.min.css"
status = 200
force = true
[[redirects]]
from = "/images/stand-with-ukraine.svg"
to = "/images/stand-with-ukraine.svg"
status = 200
force = true
[[redirects]]
from = "/*"
to = "/stand-with-ukraine/"
status = 301
force = true
conditions = { Country = ["RU"] }