mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Merge commit '14e369b961943a0b977776899e24e8bea63834df'
This commit is contained in:
@@ -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