diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-02-24 11:51:16 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-02-24 16:41:18 +0100 |
commit | 189b72331e02a17e25f5102af02486d25e27e826 (patch) | |
tree | 5b9b0c74c19acaa91214756df47472cc18cea76f /hugolib/filesystems/basefs.go | |
parent | b2b7bfdd3abfd389d20e59b256104dd06bbcd951 (diff) |
tocss: Fix the import resolving from absolute to relative assets paths
Fixes #12137
Diffstat (limited to 'hugolib/filesystems/basefs.go')
-rw-r--r-- | hugolib/filesystems/basefs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/filesystems/basefs.go b/hugolib/filesystems/basefs.go index 25c58d516..5479e2266 100644 --- a/hugolib/filesystems/basefs.go +++ b/hugolib/filesystems/basefs.go @@ -362,7 +362,7 @@ func (d *SourceFilesystem) ReverseLookup(filename string, checkExists bool) ([]h var cps []hugofs.ComponentPath hugofs.WalkFilesystems(d.Fs, func(fs afero.Fs) bool { if rfs, ok := fs.(hugofs.ReverseLookupProvder); ok { - if c, err := rfs.ReverseLookup(filename, checkExists); err == nil { + if c, err := rfs.ReverseLookupComponent(d.Name, filename, checkExists); err == nil { cps = append(cps, c...) } } |