Make use of the fact that Hugo sets enviroment to development when running hugo server.
This commit is contained in:
parent
76b063b637
commit
19887185c7
1 changed files with 3 additions and 5 deletions
|
|
@ -233,11 +233,9 @@ To customise a js or sass file, copy it to the root assets directory and edit it
|
|||
|
||||
The default styles in "_zen.scss" are boring but functional. You can easily overide them completely by placing an empty file named "_zen.scss" in root assets/sass directory.
|
||||
|
||||
By default the sass files are built for production, compressed with fingerprint. By setting the Hugo enviroment variable to "dev" they will instead be nested with sourcemaps.
|
||||
The sass files are be default built for production, compressed with fingerprint.
|
||||
|
||||
```
|
||||
§ hugo serve watch --environment=dev
|
||||
```
|
||||
By setting the Hugo environment variable to "development" (default when running `hugo server`) they will instead be nested with sourcemaps.
|
||||
|
||||
|
||||
## Multilingual
|
||||
|
|
|
|||
Loading…
Reference in a new issue