hugo/hugolib
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
..
alias_test.go
author.go
benchmark_test.go
config.go
config_test.go
datafiles_test.go
embedded_shortcodes_test.go
handler_base.go
handler_file.go
handler_meta.go
handler_page.go
handler_test.go
hugo_info.go
hugo_sites.go Fix a more summary corner case 2016-10-18 08:43:44 +02:00
hugo_sites_test.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
i18n.go
media.go
menu.go
menu_test.go
multilingual.go Fix case issue Viper vs Blackfriday config 2016-10-16 19:28:21 +02:00
node.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
node_test.go
page.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
page_permalink_test.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
page_taxonomy_test.go
page_test.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
page_time_integration_test.go
pageCache.go
pageCache_test.go
pageGroup.go
pageGroup_test.go
pageSort.go
pageSort_test.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
pagination_test.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
path_separators_test.go
path_separators_windows_test.go
permalinks.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
permalinks_test.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
planner.go
redis.cn.md
robotstxt_test.go
rss_test.go
scratch.go
scratch_test.go
shortcode.go
shortcode_test.go
shortcodeparser.go
shortcodeparser_test.go
site.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
site_show_plan_test.go
site_test.go Fix case issue Viper vs Blackfriday config 2016-10-16 19:28:21 +02:00
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
summary.go
taxonomy.go Avoid reading from Viper for path and URL funcs 2016-10-24 13:45:30 +02:00
taxonomy_test.go
translations.go