Fix cache keys for bundled resoures in transform.Unmarshal

Fixes #6327
This commit is contained in:
Bjørn Erik Pedersen
2019-09-12 19:53:31 +02:00
parent fcfa6f33bb
commit c0d7573677
3 changed files with 32 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ func (l *genericResource) Data() interface{} {
}
func (l *genericResource) Key() string {
return l.relTargetDirFile.path()
return l.RelPermalink()
}
func (l *genericResource) MediaType() media.Type {