Update minification.md

This commit is contained in:
Bjørn Erik Pedersen 2020-02-23 11:35:02 +01:00 committed by GitHub
parent 9039332e2d
commit 5bdab0ebdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,4 +22,6 @@ Any resource of the aforementioned types can be minifed using `resources.Minify`
```go-html-template
{{ $css := resources.Get "css/main.css" }}
{{ $style := $css | resources.Minify }}
```
```
Note that you can also minify the final HTML output to `/public` by running `hugo --minify`.