hugo/tpl
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
..
cast
collections tpl/collections: Improve error message in Index 2023-02-08 10:22:20 +01:00
compare
crypto
css tocss: Simplify the hugo:vars type handling 2023-02-22 13:26:10 +01:00
data
debug
diagrams Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
encoding
fmt
hugo
images Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
inflect
internal tpl/internal: Sync Go template src to Go 1.20 2023-02-22 11:26:52 +01:00
js
lang
math
openapi Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
os Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
partials Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
path Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
reflect
resources Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
safe
site
strings tpl/strings: Add strings.ContainsNonSpace 2023-02-05 20:08:44 +01:00
templates
time
tplimpl tocss: Simplify the hugo:vars type handling 2023-02-22 13:26:10 +01:00
transform Add page fragments support to Related 2023-02-21 17:56:41 +01:00
urls
template.go Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
template_info.go
template_test.go