mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-27 00:38:53 +00:00
Update minification.md
This commit is contained in:
committed by
GitHub
parent
9039332e2d
commit
5bdab0ebdc
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user