hugo/hugolib
Bjørn Erik Pedersen 08fa2b1124 hugolib: Fix layout lookup order for Render func
Will have to fix this in a better way later in relation to the non-renderable pages.

But this commit brings the Hugo Benchmark down to "only slightly slower" than master.

```
benchmark           old ns/op       new ns/op       delta
BenchmarkHugo-4     10074504521     10071236251     -0.03%

benchmark           old allocs     new allocs     delta
BenchmarkHugo-4     43623091       49271859       +12.95%

benchmark           old bytes      new bytes      delta
BenchmarkHugo-4     9468322704     9725848376     +2.72%
```

Which is something we can work with.
2017-03-27 15:43:56 +02:00
..
testdata hugolib: Clean up a benchmark 2017-01-03 17:08:59 +01:00
alias.go hugolib: Remove siteWriter 2017-03-27 15:43:56 +02:00
alias_test.go hugolib: Remove siteWriter 2017-03-27 15:43:56 +02:00
author.go Revert the "standardize author data" 2016-09-18 19:16:39 +02:00
case_insensitive_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
config.go hugolib: Default rssLimit to unlimited 2017-03-10 21:27:45 +01:00
config_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
datafiles_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
disableKinds_test.go hugolib: Add missing page kind to allKinds 2017-02-19 09:15:30 +01:00
embedded_shortcodes_test.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
gitinfo.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
handler_base.go hugolib: Clean up redundant frontmatter error logging 2017-03-10 23:22:43 +01:00
handler_file.go hugolib: Remove siteWriter 2017-03-27 15:43:56 +02:00
handler_meta.go all: Refactor to nonglobal template handling 2017-01-10 01:36:59 +01:00
handler_page.go all: Add org-mode support 2017-02-21 08:46:03 +01:00
handler_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
hugo_info.go Move HugoSites to hugolib 2016-09-06 18:32:16 +03:00
hugo_sites.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
hugo_sites_build.go hugolib: Speed up URL handling 2017-03-27 15:43:56 +02:00
hugo_sites_build_test.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
media.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
menu.go hugolib: Finish menu vs section content pages 2017-02-20 22:20:02 +01:00
menu_old_test.go hugolib: Speed up URL handling 2017-03-27 15:43:56 +02:00
menu_test.go hugolib: Finish menu vs section content pages 2017-02-20 22:20:02 +01:00
multilingual.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
node_as_page_test.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
page.go hugolib: Fix layout lookup order for Render func 2017-03-27 15:43:56 +02:00
page_collections.go hugolib: Fix reloading corner cases for shortcodes 2017-03-11 20:21:06 +01:00
page_output.go hugolib: Speed up URL handling 2017-03-27 15:43:56 +02:00
page_paths.go hugolib: Speed up URL handling 2017-03-27 15:43:56 +02:00
page_paths_test.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
page_permalink_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
page_taxonomy_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
page_test.go Refactor layout resolve to a descriptor/adapter pattern 2017-03-27 15:43:56 +02:00
page_time_integration_test.go hugolib: Add temporary date parse test 2017-02-19 13:19:15 +01:00
pageCache.go Apply gofmt -s 2016-02-06 13:09:52 +01:00
pageCache_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
pageGroup.go hugolib, source, tpl: Fix docs 2016-11-23 09:13:00 +01:00
pageGroup_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
pageSort.go hugolib: Enhance .Param to permit arbitrarily nested parameter references 2017-02-19 08:50:08 +01:00
pageSort_test.go hugolib: Enhance .Param to permit arbitrarily nested parameter references 2017-02-19 08:50:08 +01:00
pagesPrevNext.go huglib: Add even more missing GoDoc 2016-04-07 16:05:23 +02:00
pagesPrevNext_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
pagination.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
pagination_test.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
path_separators_test.go hugolib, output: Incorporate suffix and type in layout resolve 2017-03-27 15:43:56 +02:00
permalinks.go all: Refactor to nonglobal file systems 2017-02-04 11:37:25 +07:00
permalinks_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
robotstxt_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
rss_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
scratch.go Do not use defer for unlocking in Scratch 2016-03-24 16:03:31 +01:00
scratch_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
shortcode.go hugolib: Fix reloading corner cases for shortcodes 2017-03-11 20:21:06 +01:00
shortcode_test.go hugolib, output: Add theme logic to LayoutHandler 2017-03-27 15:43:56 +02:00
shortcodeparser.go all: Remove dead code 2016-10-13 13:51:16 +02:00
shortcodeparser_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
site.go output: Speed up layout calculations 2017-03-27 15:43:56 +02:00
site_output.go Rename OutputType to OutputFormat 2017-03-27 15:43:56 +02:00
site_output_test.go Rename OutputType to OutputFormat 2017-03-27 15:43:56 +02:00
site_render.go hugolib: Speed up URL handling 2017-03-27 15:43:56 +02:00
site_test.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
site_url_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
siteJSONEncode_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
sitemap.go hugolib: Fix some more Golint warnings 2016-03-23 10:10:28 +01:00
sitemap_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
taxonomy.go all: Refactor to nonglobal file systems 2017-02-04 11:37:25 +07:00
taxonomy_test.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
template_engines_test.go hugolib: More test helper cleanup 2017-02-18 07:53:25 +01:00
template_test.go hugolib: Add section template baseof test case 2017-03-02 13:52:08 +01:00
testhelpers_test.go hugolib: Refactor/-work the permalink/target path logic 2017-03-27 15:43:56 +02:00
translations.go hugolib: Remove unnecessary params 2017-03-08 12:28:56 +01:00