mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
fix: netlify build configuration
This commit is contained in:
parent
d84fb1b075
commit
e2e85f89d2
13
netlify.toml
13
netlify.toml
@ -3,16 +3,3 @@ publish = "public"
|
|||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.124.0"
|
HUGO_VERSION = "0.124.0"
|
||||||
HUGO_THEME = "stack" # or whatever your actual theme name is, if needed
|
|
||||||
|
|
||||||
[context.production]
|
|
||||||
command = "hugo --gc --minify -b https://gearlama-blog.netlify.app"
|
|
||||||
[context.production.environment]
|
|
||||||
HUGO_ENV = "production"
|
|
||||||
|
|
||||||
[[plugins]]
|
|
||||||
package = "netlify-plugin-hugo-cache-resources"
|
|
||||||
|
|
||||||
[plugins.inputs]
|
|
||||||
debug = true
|
|
||||||
srcdir = "." # current directory, assuming your Hugo site lives at root
|
|
||||||
|
Loading…
Reference in New Issue
Block a user