Skip to content

Commit

Permalink
clean and document toplevel netlify config (#583)
Browse files Browse the repository at this point in the history
Signed-off-by: Etai Lev Ran <[email protected]>
  • Loading branch information
elevran authored May 15, 2024
1 parent 4948895 commit b160743
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Netlify expects the configuration file in the repo's top level.
# In our case, we use it only to redirect to the `website` directory which
# holds the site and configuration.
# See https://docs.netlify.com/configure-builds/file-based-configuration/
[build]
base = "website/"
publish = "public"
command = "hugo --gc --minify"

[build.environment]
HUGO_VERSION = "0.120.4"
HUGO_ENABLEGITINFO = "true"

0 comments on commit b160743

Please sign in to comment.