Point out that Sass compilation has to be enabled in config.toml (#2458)

This commit is contained in:
Joshua Gawley 2024-03-18 20:53:06 +00:00 committed by GitHub
parent 9a5e95cf3d
commit 8af3e124a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,9 @@ with dart-sass.
## Using Sass in Zola ## Using Sass in Zola
Zola always compiles Sass files in theme directories.
However, for Zola to process files in the `sass` folder, you need to set `compile_sass = true` in your `config.toml`.
Zola processes any files with the `sass` or `scss` extension in the `sass` Zola processes any files with the `sass` or `scss` extension in the `sass`
folder, and places the processed output into a `css` file with the same folder folder, and places the processed output into a `css` file with the same folder
structure and base name into the `public` folder: structure and base name into the `public` folder: