hugo/tpl
Bjørn Erik Pedersen a10b2cd372 Avoid reading from Viper for path and URL funcs
The gain, given the "real sites benchmark" below, is obvious:

```
benchmark           old ns/op       new ns/op       delta
BenchmarkHugo-4     14497594101     13084156335     -9.75%

benchmark           old allocs     new allocs     delta
BenchmarkHugo-4     57404335       48282002       -15.89%

benchmark           old bytes       new bytes      delta
BenchmarkHugo-4     9933505624      9721984424     -2.13%
```

Fixes #2495
2016-10-24 13:45:30 +02:00
..
reflect_helpers.go Make where accept slice 2016-03-06 13:15:07 +01:00
template.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
template_embedded.go Revert the "standardize author data" 2016-09-18 19:16:39 +02:00
template_funcs.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
template_funcs_test.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
template_i18n.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
template_i18n_test.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
template_resources.go Use the Afero source fs where relevant 2016-07-30 15:37:03 +02:00
template_resources_test.go tpl: Do not write to cache when ignoring cache 2016-04-14 10:48:26 +02:00
template_test.go Add readFile template func 2016-03-31 21:24:18 +02:00