hugo/tpl/data
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
..
data_test.go tpl/data: Misc header improvements, tests, allow multiple headers of same key 2021-06-06 13:32:12 +02:00
data.go tpl/data: Misc header improvements, tests, allow multiple headers of same key 2021-06-06 13:32:12 +02:00
init_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
init.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
resources_test.go Misc config loading fixes 2021-06-14 17:00:32 +02:00
resources.go tpl/data: Print response body on HTTP errors 2021-06-07 12:06:27 +02:00