hugo/tpl
Bjørn Erik Pedersen d392893cd7
Misc config loading fixes
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster:

```
BenchmarkDefaultConfigProvider/Viper-16         	  252418	      4546 ns/op	    2720 B/op	      30 allocs/op
BenchmarkDefaultConfigProvider/Custom-16        	  450756	      2651 ns/op	    1008 B/op	       6 allocs/op
```

Fixes #8633
Fixes #8618
Fixes #8630
Updates #8591
Closes #6680
Closes #5192
2021-06-14 17:00:32 +02:00
..
cast Misc config loading fixes 2021-06-14 17:00:32 +02:00
collections Misc config loading fixes 2021-06-14 17:00:32 +02:00
compare all: Fix minor typos 2020-12-16 12:11:32 +01:00
crypto all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
data Misc config loading fixes 2021-06-14 17:00:32 +02:00
debug tpl: Add debug.Dump 2020-07-02 09:04:46 +02:00
encoding Misc config loading fixes 2021-06-14 17:00:32 +02:00
fmt docs: Regenerate docs helper 2021-06-08 18:52:38 +02:00
hugo Misc config loading fixes 2021-06-14 17:00:32 +02:00
images Misc config loading fixes 2021-06-14 17:00:32 +02:00
inflect Fix some humanize issues 2021-02-14 18:30:59 +01:00
internal tpl: Add temporary patch to fix template data race 2021-02-18 14:11:48 +01:00
js all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
lang all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
math Add math.Max and math.Min 2021-05-28 20:38:45 +02:00
openapi/openapi3 deps: Update getkin/kin-openapi v0.60.0 => v0.61. 2021-04-30 14:27:21 +02:00
os Misc config loading fixes 2021-06-14 17:00:32 +02:00
partials tpl: Fix metrics hint tracking 2021-01-08 20:01:11 +01:00
path Misc config loading fixes 2021-06-14 17:00:32 +02:00
reflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
resources Misc config loading fixes 2021-06-14 17:00:32 +02:00
safe all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
site Misc config loading fixes 2021-06-14 17:00:32 +02:00
strings Misc config loading fixes 2021-06-14 17:00:32 +02:00
templates all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
time all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
tplimpl Misc config loading fixes 2021-06-14 17:00:32 +02:00
transform Misc config loading fixes 2021-06-14 17:00:32 +02:00
urls Misc config loading fixes 2021-06-14 17:00:32 +02:00
template.go all: Fix minor typos 2020-12-16 12:11:32 +01:00
template_info.go Add render template hooks for links and images 2019-12-18 11:44:40 +01:00
template_test.go Create lightweight forks of text/template and html/template 2019-12-12 09:59:34 +01:00