mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +00:00
Update minification.md
This commit is contained in:
1 parent
9039332e2d
commit
5bdab0ebdc
1 file changed
+3
-1
@@ -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