You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bjørn Erik Pedersen
e197c7b29d
Add Luminance to Color
To sort an image's colors from darkest to lightest, you can then do:
```handlebars
{{ {{ $colorsByLuminance := sort $image.Colors "Luminance" }}
```
This uses the formula defined here: https://www.w3.org/TR/WCAG21/#dfn-relative-luminance
Fixes #10450
1 year ago
..
assets
Create a struct with all of Hugo's config options
2 years ago
images
Add Luminance to Color
1 year ago
internal
all: Fix typos
1 year ago
jsconfig
all: Fix typos in function names and comments
2 years ago
kinds
all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning
2 years ago
page
Pass .RenderShortcodes' Page to render hooks as .PageInner
1 year ago
postpub
all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning
2 years ago
resource
Fix Name for nested resourced fetched in resources.ByName and similar
1 year ago
resource_factories
resources: Use different cache key when copying resources
1 year ago
resource_transformers
babel: Run go fmt
1 year ago
testdata
Add images.Opacity filter
2 years ago
docs.go
all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning
2 years ago
errorResource.go
Add Luminance to Color
1 year ago
image.go
Add Luminance to Color
1 year ago
image_cache.go
Fix multihost processed image not copied to non-default content languages
1 year ago
image_extended_test.go
all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning
2 years ago
image_test.go
Add Luminance to Color
1 year ago
post_publish.go
Add basic "post resource publish support"
5 years ago
resource.go
resource: Revert the normalization of Resource.Name
1 year ago
resource_cache.go
Fix rebuild with resources.Concat
1 year ago
resource_metadata.go
resource: Revert the normalization of Resource.Name
1 year ago
resource_spec.go
resource: Revert the normalization of Resource.Name
1 year ago
resource_spec_test.go
all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning
2 years ago
resources_integration_test.go
resources: Use different cache key when copying resources
1 year ago
testhelpers_test.go
resource: Revert the normalization of Resource.Name
1 year ago
transform.go
Add Luminance to Color
1 year ago
transform_integration_test.go
all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning
2 years ago
transform_test.go
all: Fix typos and some URLs
1 year ago