mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-28 23:02:05 -05:00
readme: Fix build command
This commit is contained in:
parent
f1e8f010f5
commit
d01731d53c
1 changed files with 2 additions and 2 deletions
|
@ -82,10 +82,10 @@ To fetch, build and install from the Github source:
|
||||||
go install github.com/gohugoio/hugo@latest
|
go install github.com/gohugoio/hugo@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
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:
|
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
|
```bash
|
||||||
CGO_ENABLED=1 go install --tags extended github.com/gohugoio/hugo@latest
|
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## The Hugo Documentation
|
## The Hugo Documentation
|
||||||
|
|
Loading…
Reference in a new issue