aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorMateusz Szczyrzyca <[email protected]>2020-06-23 16:48:16 +0200
committerBjørn Erik Pedersen <[email protected]>2020-06-23 17:08:29 +0200
commit0b579db80fba1bde7dab07ea92d622dd6214dcfb (patch)
tree023f51228b1a6f3c7d80be041b701aabc6be2138 /README.md
parent3466884e364d0df39394742697d6fa0b37d49e64 (diff)
downloadhugo-0b579db80fba1bde7dab07ea92d622dd6214dcfb.tar.gz
hugo-0b579db80fba1bde7dab07ea92d622dd6214dcfb.zip
Updated installation instruction about Sass/SCSS support
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index c6fb63306..f3c9f2bf9 100644
--- 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: