Updated installation instruction about Sass/SCSS support
authorMateusz Szczyrzyca <mateusz@szczyrzyca.pl>
Tue, 23 Jun 2020 14:48:16 +0000 (16:48 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 23 Jun 2020 15:08:29 +0000 (17:08 +0200)
README.md

index c6fb63306af56baa0d267946df4e945c1ea56c45..f3c9f2bf98bf444f3db12038e36315a9c9e8aea1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -69,7 +69,13 @@ go install
 ```
 
 **If you are a Windows user, substitute the `$HOME` environment variable above with `%USERPROFILE%`.**
-       
+
+If you want to compile with Sass/SCSS support use `--tags extended` and make sure `CGO_ENABLED=1` is set in your go environment. If you don't want to have CGO enabled, you may use the following command to temporarily enable CGO only for hugo compilation:
+
+```bash
+CGO_ENABLED=1 go install --tags extended
+```
+
 ## The Hugo Documentation
 
 The Hugo documentation now lives in its own repository, see https://github.com/gohugoio/hugoDocs. But we do keep a version of that documentation as a `git subtree` in this repository. To build the sub folder `/docs` as a Hugo site, you need to clone this repo: