mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 20:24:49 -04:00
Update minification.md
This commit is contained in:
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`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user