hugo/common/types
Bjørn Erik Pedersen ecf3cd514f tocss: Simplify the hugo:vars type handling
Instead of maintaing a list of all CSS units and functions this commit:

* Uses 3 regexps to detect typed CSS values (e.g. `24px`) + properly handle numeric Go types.
* These regexps may have some false positives -- e.g. strings that needs to be quoted.
* For that rare case, you can mark the string with e.g. `"32xxx" | css.Quoted`
* For the opposite case:  `"32" | css.Unquoted`

Updates #10632
2023-02-22 13:26:10 +01:00
..
css tocss: Simplify the hugo:vars type handling 2023-02-22 13:26:10 +01:00
hstring resources: Create a common ResourceFinder interface 2022-04-05 18:00:44 +02:00
convert.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
convert_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
evictingqueue.go Prevent stale content in Fast Render Mode 2018-10-17 10:15:22 +02:00
evictingqueue_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
types.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
types_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00