-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
43 lines (35 loc) · 1.32 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
[build]
publish = "public"
command = "hugo --gc --minify"
[context.production.environment]
HUGO_VERSION = "0.96.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[[plugins]]
package = "netlify-plugin-submit-sitemap"
[plugins.inputs]
# The base url of your site (optional, default = main URL set in Netlify)
baseUrl = "https://robertschv.netlify.app"
# Path to the sitemap URL (optional, default = /sitemap.xml)
sitemapPath = "/sitemap.xml"
# Time in seconds to not submit the sitemap after successful submission
ignorePeriod = 0
# Enabled providers to submit sitemap to (optional, default = 'google', 'bing', 'yandex'). Possible providers are currently only 'google', 'bing', 'yandex'.
providers = [
"google",
"yandex"
]
[[headers]]
for = "/*"
[headers.values]
Permissions-Policy = "accelerometer=(self), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), fullscreen=(self), gyroscope=(), magnetometer=(), microphone=(), midi=(), payment=(), picture-in-picture=(self), usb=()"
Content-Security-Policy = "policy"
Referrer-Policy = "strict-origin-when-cross-origin"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
cache-control = '''
max-age=0,
no-cache,
no-store,
must-revalidate'''