From 29ad03c7e72d735e1134269e4cdf54cc743f95e3 Mon Sep 17 00:00:00 2001 From: Dipankar Das <65275144+dipankardas011@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:18:28 +0530 Subject: [PATCH] updated the hugo site Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com> --- netlify.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..47454e3 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,22 @@ +[build] + command = "hugo --gc --minify" + publish = "public" + +[build.environment] + # Set the Hugo version + HUGO_VERSION = "0.139.2" + NODE_VERSION = "lts/*" + +# Set environment variables +[context.production.environment] + HUGO_ENVIRONMENT = "production" + GO_VERSION = "1.23" + HUGO_BASEURL = "https://docs.ksctl.com/" + HUGO_ENV = "production" + HUGO_ENABLEGITINFO = "true" + +[[headers]] + for = "/*" + [headers.values] + X-Frame-Options = "DENY" + X-XSS-Protection = "1; mode=block"