diff options
author | satotake <doublequotation@gmail.com> | 2022-09-21 15:01:54 +0000 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-09-23 13:12:57 +0200 |
commit | 281554ee97eb243af097611aaf6bfec8940ad6d1 (patch) | |
tree | e7581707bac6026c78ecc77a23e378e2fc30e68e /main_test.go | |
parent | f3560aa0e170f8bbc1e5ab41f1e54bd819da5cc3 (diff) |
hugofs: Fix glob case-sensitivity bug
On Linux, `hugofs.Glob` does not hit any directories which includes
uppercase letters. (This does not happen on macOS.)
Since `resources.GetMatch/Match` uses `Glob`,
```
{{ resources.GetMatch "Foo/bar.css" }}
```
this does not match `assets/Foo/bar.css` .
On the other hand, you can get it with
```
{{ resources.Get "Foo/bar.css" }}
```
Diffstat (limited to 'main_test.go')
0 files changed, 0 insertions, 0 deletions