From f378e8a1cd38dc1b3acf754f6756953a50944118 Mon Sep 17 00:00:00 2001 From: Bharat Singh Bhadwal Date: Sat, 19 Apr 2025 18:05:16 +0530 Subject: [PATCH] fix: netlify build config --- netlify.toml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/netlify.toml b/netlify.toml index f2740ed..99d5753 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,20 +1,18 @@ [build] - publish = "public" +publish = "public" [build.environment] - HUGO_VERSION = "0.124.0" -# HUGO_THEME = "repo" +HUGO_VERSION = "0.124.0" +HUGO_THEME = "stack" # or whatever your actual theme name is, if needed [context.production] - command = "hugo --gc --minify -b ${URL}" - [context.production.environment] - HUGO_ENV = "production" +command = "hugo --gc --minify -b ${URL}" +[context.production.environment] +HUGO_ENV = "production" [[plugins]] - package = "netlify-plugin-hugo-cache-resources" +package = "netlify-plugin-hugo-cache-resources" - [plugins.inputs] - # If it should show more verbose logs (optional, default = true) - debug = true - # Relative path to source directory in case you use Hugo's "--s" option - srcdir = "." + [plugins.inputs] + debug = true + srcdir = "." # current directory, assuming your Hugo site lives at root