From c5db4ba2b9decf2532964d14323bc540b9807680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 11 Apr 2020 20:53:16 +0200 Subject: [PATCH] Update postprocess.md Fixes #1080 --- content/en/hugo-pipes/postprocess.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/hugo-pipes/postprocess.md b/content/en/hugo-pipes/postprocess.md index 4e55ad353..962d0ffdf 100755 --- a/content/en/hugo-pipes/postprocess.md +++ b/content/en/hugo-pipes/postprocess.md @@ -18,7 +18,7 @@ A prime use case for this is [CSS purging with PostCSS](#css-purging-with-postcs There are currently two limitations to this: -1. This only works for `*.html` files. +1. This only works in `*.html` templates (i.e. templates that produces HTML files). 2. You cannot manipulate the values returned from the resource's methods. E.g. the `upper` in this example will not work as expected: ```go-html-template @@ -67,4 +67,4 @@ Note that in the example above, the "CSS purge step" will only be applied to the {{ $css = $css | minify | fingerprint | resources.PostProcess }} {{ end }} -``` \ No newline at end of file +```