summaryrefslogtreecommitdiffstats
path: root/docs/content/en/hugo-pipes/minification.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/hugo-pipes/minification.md')
-rwxr-xr-xdocs/content/en/hugo-pipes/minification.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/content/en/hugo-pipes/minification.md b/docs/content/en/hugo-pipes/minification.md
index d11ee58a9..6e539e0e7 100755
--- a/docs/content/en/hugo-pipes/minification.md
+++ b/docs/content/en/hugo-pipes/minification.md
@@ -3,7 +3,6 @@ title: Asset minification
description: Hugo Pipes allows the minification of any CSS, JS, JSON, HTML, SVG or XML resource.
date: 2018-07-14
publishdate: 2018-07-14
-lastmod: 2018-07-14
categories: [asset management]
keywords: []
menu:
@@ -12,13 +11,10 @@ menu:
weight: 50
weight: 50
sections_weight: 50
-draft: false
---
-
Any resource of the aforementioned types can be minified using `resources.Minify` which takes for argument the resource object.
-
```go-html-template
{{ $css := resources.Get "css/main.css" }}
{{ $style := $css | resources.Minify }}