mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
fix: netlify build config
This commit is contained in:
parent
4a8eae5099
commit
f378e8a1cd
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.124.0"
|
HUGO_VERSION = "0.124.0"
|
||||||
# HUGO_THEME = "repo"
|
HUGO_THEME = "stack" # or whatever your actual theme name is, if needed
|
||||||
|
|
||||||
[context.production]
|
[context.production]
|
||||||
command = "hugo --gc --minify -b ${URL}"
|
command = "hugo --gc --minify -b ${URL}"
|
||||||
@ -14,7 +14,5 @@
|
|||||||
package = "netlify-plugin-hugo-cache-resources"
|
package = "netlify-plugin-hugo-cache-resources"
|
||||||
|
|
||||||
[plugins.inputs]
|
[plugins.inputs]
|
||||||
# If it should show more verbose logs (optional, default = true)
|
|
||||||
debug = true
|
debug = true
|
||||||
# Relative path to source directory in case you use Hugo's "--s" option
|
srcdir = "." # current directory, assuming your Hugo site lives at root
|
||||||
srcdir = "."
|
|
||||||
|
Loading…
Reference in New Issue
Block a user