hugo/tpl/tplimpl
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
..
embedded Revert "tpl/tplimpl: Use https in sitemap templates" 2022-12-22 08:53:58 +01:00
integration_test.go tpl/tplimpl: Allow alternate comment syntax 2022-12-04 09:25:51 +01:00
shortcodes.go media: Make Type comparable 2021-03-14 15:21:54 +01:00
shortcodes_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
template.go Also consider wrapped errors when checking for file IsNotExist errors 2022-12-14 13:51:06 +01:00
template_ast_transformers.go Fix indentation in highlight shortcode 2022-05-31 09:05:54 +02:00
template_ast_transformers_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
template_errors.go Improve SASS errors 2022-05-15 20:25:25 +02:00
template_funcs.go tocss: Simplify the hugo:vars type handling 2023-02-22 13:26:10 +01:00
template_funcs_test.go Add Markdown diagrams and render hooks for code blocks 2022-02-24 18:59:50 +01:00
template_test.go Fix base template handling with preceding comments 2020-01-30 23:44:42 +01:00
templateFuncster.go Rework template handling for function and map lookups 2019-12-12 10:04:35 +01:00
templateProvider.go tpl/tplimpl: Rework template management to get rid of concurrency issues 2020-01-22 09:39:49 +01:00