forked from razonyang/hugo-theme-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
35 lines (28 loc) · 957 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
[build]
publish = "exampleSite/public"
command = "cd exampleSite && hugo --minify --themesDir=../../ --theme=repo -b=https://hbs.razonyang.com/"
[context.production.environment]
HUGO_VERSION = "0.87.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.develop]
command = "cd exampleSite && hugo --minify --themesDir=../../ --theme=repo -b=https://develop.hbs.razonyang.com/"
[context.develop.environment]
HUGO_VERSION = "0.87.0"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview.build]
command = "cd exampleSite && hugo --minify --themesDir=../../ --theme=repo -b=/"
[context.deploy-preview.environment]
HUGO_VERSION = "0.87.0"
HUGO_ENABLEGITINFO = "true"
[[headers]]
for = "/*"
[headers.values]
Referrer-Policy = "strict-origin-when-cross-origin"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "deny"
X-XSS-Protection = "1; mode=block"
[[redirects]]
from = "/:lang/*"
to = "/:lang/404.html"
status = 404