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
template.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
template_embedded.go
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
template_resources_test.go
template_test.go