hugo/resources
satotake 281554ee97
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" }}
```
2022-09-23 13:12:57 +02:00
..
images resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
internal all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
jsconfig all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
page resources/page: Add :slugorfilename attribute 2022-06-13 21:45:03 +02:00
postpub all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource Add resources.Copy 2022-05-25 10:35:31 +02:00
resource_factories hugofs: Fix glob case-sensitivity bug 2022-09-23 13:12:57 +02:00
resource_transformers scss: Handle single-file sourcemaps correctly 2022-09-06 10:52:28 +02:00
testdata Add animated GIF support 2022-06-12 18:17:08 +02:00
errorResource.go resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
image.go resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
image_cache.go Fix MediaType when reading images from cache 2022-04-16 16:36:15 +02:00
image_extended_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
image_test.go resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
integration_test.go resources: Improve error message on .Resize etc. on SVGs 2022-05-25 18:06:20 +02:00
post_publish.go Add basic "post resource publish support" 2020-04-07 21:59:20 +02:00
resource.go resources: Panic on Copy of Resource with .Err 2022-06-14 09:47:41 +02:00
resource_cache.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_cache_test.go
resource_metadata.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
resource_metadata_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_spec.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
testhelpers_test.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
transform.go resources/images: Add $image.Colors 2022-09-22 15:57:35 +02:00
transform_test.go Support PostProcess for all file types 2022-09-14 19:09:20 +02:00