Skip to content

Commit

Permalink
updated the hugo site
Browse files Browse the repository at this point in the history
Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
  • Loading branch information
dipankardas011 committed Dec 2, 2024
1 parent b0ae6ec commit 29ad03c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 29ad03c

Please sign in to comment.