mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 15:35:30 -04:00
Update minification.md
This commit is contained in:
parent
9039332e2d
commit
5bdab0ebdc
@ -23,3 +23,5 @@ Any resource of the aforementioned types can be minifed using `resources.Minify`
|
||||
{{ $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