Fix netlify.toml examples in hosting-on-netlify

This commit is contained in:
Johan Mulder 2024-04-20 15:05:27 +02:00 committed by GitHub
parent f4628189a6
commit 1d3afb6b02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -100,6 +100,7 @@ In the procedure above we configured our site using the Netlify user interface.
Create a new file named netlify.toml in the root of your project directory. In its simplest form, the configuration file might look like this:
{{< code file=netlify.toml >}}
[build.environment]
HUGO_VERSION = "0.124.0"
TZ = "America/Los_Angeles"
@ -111,6 +112,7 @@ command = "hugo --gc --minify"
If your site requires Dart Sass to transpile Sass to CSS, the configuration file should look something like this:
{{< code file=netlify.toml >}}
[build.environment]
HUGO_VERSION = "0.124.0"
DART_SASS_VERSION = "1.72.0"
TZ = "America/Los_Angeles"