Fix PostProcess regression for hugo server

Fixes #9788
This commit is contained in:
Bjørn Erik Pedersen 2022-04-16 17:50:50 +02:00
parent 397fce5603
commit 4deb5c6066
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