mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Fix netlify.toml examples in hosting-on-netlify
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user