"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/content/en/hugo-pipes/scss-sass.md" between
hugo-0.80.0.tar.gz and hugo-0.81.0.tar.gz

About: Hugo is a static site generator that takes a source directory of Markdown files and templates and uses these as input to create a complete website (written in Go).

scss-sass.md  (hugo-0.80.0):scss-sass.md  (hugo-0.81.0)
skipping to change at line 29 skipping to change at line 29
```go-html-template ```go-html-template
{{ $sass := resources.Get "sass/main.scss" }} {{ $sass := resources.Get "sass/main.scss" }}
{{ $style := $sass | resources.ToCSS }} {{ $style := $sass | resources.ToCSS }}
``` ```
### Options ### Options
transpiler [string] {{< new-in "0.80.0" >}} transpiler [string] {{< new-in "0.80.0" >}}
: The `transpiler` to use, valid values are `libsass` (default) and `dartsass`. Note that the Embedded Dart Sass project is still in beta (beta 5 at the time of writing). The release is scheduled for Q1 2021. We will try to improve the inst allation process by then, but if you want to use Hugo with Dart Sass you need to download a release binary from [Embedded Dart Sass](https://github.com/sass/dar t-sass-embedded/releases) and make sure it's in your PC's `$PATH` (or `%PATH%` o n Windows). : The `transpiler` to use, valid values are `libsass` (default) and `dartsass`. Note that the Embedded Dart Sass project is still in beta (beta 5 at the time of writing). The release is scheduled for Q1 2021. We will try to improve the inst allation process by then, but if you want to use Hugo with Dart Sass you need to download a release binary from [Embedded Dart Sass](https://github.com/sass/dar t-sass-embedded/releases) (Hugo after 0.81.0 requires beta 6 or newer) and make sure it's in your PC's `$PATH` (or `%PATH%` on Windows).
targetPath [string] targetPath [string]
: If not set, the resource's target path will be the asset file original path wi th its extension replaced by `.css`. : If not set, the resource's target path will be the asset file original path wi th its extension replaced by `.css`.
outputStyle [string] outputStyle [string]
: Default is `nested` (LibSass) and `expanded` (Dart Sass). Other available outp ut styles for LibSass are `expanded`, `compact` and `compressed`. Dart Sass only supports `expanded` and `compressed`. : Default is `nested` (LibSass) and `expanded` (Dart Sass). Other available outp ut styles for LibSass are `expanded`, `compact` and `compressed`. Dart Sass only supports `expanded` and `compressed`.
precision [int] precision [int]
: Precision of floating point math. **Note:** This option is not supported by Da rt Sass. : Precision of floating point math. **Note:** This option is not supported by Da rt Sass.
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)