diff options
author | shampaakter <shampa.themefisher@gmail.com> | 2021-09-06 12:29:33 +0300 |
---|---|---|
committer | shampaakter <shampa.themefisher@gmail.com> | 2021-09-06 12:29:33 +0300 |
commit | 68395547d134be15828b96e04e138557caed05df (patch) | |
tree | a9a63180342e3a4438df004ddc09bffca648eaa9 /netlify.toml | |
parent | 6f171c42be6c480568c16f0f3235ed3fc7d2c296 (diff) |
added netlify.toml file, updated theme.toml, README.md file
Diffstat (limited to 'netlify.toml')
-rw-r--r-- | netlify.toml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..a718ec7 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,17 @@ +[build] + publish = "exampleSite/public" + command = "cd exampleSite && hugo --minify --gc --themesDir ../.." + +[build.environment] + HUGO_VERSION = "0.87.0" + HUGO_THEME = "repo" + HUGO_BASEURL = "/" + +[[headers]] + for = "/*" # This defines which paths this specific [[headers]] block will cover. + +[headers.values] + X-Frame-Options = "DENY" + X-XSS-Protection = "1; mode=block" + Referrer-Policy = "same-origin" + Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload" |