Revert "Revert "Fix PostProcess regression for hugo server""

This reverts commit 6c35a1a9ea.

Updates #9794
This commit is contained in:
Bjørn Erik Pedersen 2022-04-18 10:28:54 +02:00
parent 5de6f8a02c
commit e66e2e9ce5
4 changed files with 66 additions and 38 deletions

View file

@ -375,6 +375,10 @@ Single: {{ .Title }}
List: {{ .Title }}
Environment: {{ hugo.Environment }}
For issue 9788:
{{ $foo :="abc" | resources.FromString "foo.css" | minify | resources.PostProcess }}
PostProcess: {{ $foo.RelPermalink }}
`)
return dir