Skip to content

Commit b160743

Browse files
authored
clean and document toplevel netlify config (#583)
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
1 parent 4948895 commit b160743

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

netlify.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
# Netlify expects the configuration file in the repo's top level.
2+
# In our case, we use it only to redirect to the `website` directory which
3+
# holds the site and configuration.
4+
# See https://docs.netlify.com/configure-builds/file-based-configuration/
15
[build]
26
base = "website/"
37
publish = "public"
4-
command = "hugo --gc --minify"
5-
6-
[build.environment]
7-
HUGO_VERSION = "0.120.4"
8-
HUGO_ENABLEGITINFO = "true"

0 commit comments

Comments
 (0)