hugo/common
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
2024-04-16 10:02:46 +02:00
..
collections Handle resource changes when the resources is already evicted from cache 2024-02-04 16:55:06 +01:00
constants Emit a warning that can be turned off when overwriting built-in .Params values 2024-01-30 20:12:03 +01:00
hcontext
herrors Improve nilpointer error message 2024-02-01 19:53:51 +01:00
hexec
hreflect all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
hstrings Add Luminance to Color 2024-04-16 10:02:46 +02:00
htime
hugio hugio: Rename strigReadSeeker => stringReadSeeker 2024-02-03 17:25:34 +01:00
hugo releaser: Prepare repository for 0.125.0-DEV 2024-03-20 11:53:43 +00:00
loggers Add warnidf template function 2024-01-30 20:12:03 +01:00
maps
math
para
paths all: Typo fixes 2024-03-15 17:25:52 +01:00
predicate
rungroup
terminal
text
types Fix intersect and similar for term entry page collections 2024-03-15 16:45:53 +01:00
urls
docs.go