Skip to content

Commit

Permalink
Updated installation instruction about Sass/SCSS support
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-szczyrzyca authored and bep committed Jun 23, 2020
1 parent 3466884 commit 0b579db
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0b579db

Please sign in to comment.