+1
-1
hugo.yml
+1
-1
hugo.yml
+35
netlify.toml
+35
netlify.toml
···
1
+
[build]
2
+
publish = "public"
3
+
command = "hugo --gc --minify"
4
+
5
+
[context.production.environment]
6
+
HUGO_VERSION = "0.117.0"
7
+
HUGO_ENV = "production"
8
+
HUGO_ENABLEGITINFO = "true"
9
+
10
+
[context.split1]
11
+
command = "hugo --gc --minify --enableGitInfo"
12
+
13
+
[context.split1.environment]
14
+
HUGO_VERSION = "0.117.0"
15
+
HUGO_ENV = "production"
16
+
17
+
[context.deploy-preview]
18
+
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
19
+
20
+
[context.deploy-preview.environment]
21
+
HUGO_VERSION = "0.117.0"
22
+
23
+
[context.branch-deploy]
24
+
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
25
+
26
+
[context.branch-deploy.environment]
27
+
HUGO_VERSION = "0.117.0"
28
+
29
+
[context.next.environment]
30
+
HUGO_ENABLEGITINFO = "true"
31
+
32
+
[[redirects]]
33
+
from = "/npmjs/*"
34
+
to = "/npmjs/"
35
+
status = 200