hugo/hugolib
Bjørn Erik Pedersen 0907a5c1c2 all: Temporarily revert to BurntSushi for TOML front matter handling
We still have go-toml as a transitive dependency, and it is the way to go eventually, but we care about speed, so let us wait that one out.

Note that the issue this fixes is about taxonomies, but I guess this is a general issue for sites with many pages that uses TOML as front matter.

```
benchmark                              old ns/op     new ns/op     delta
BenchmarkFrontmatterTags/TOML:1-4      23206         8543          -63.19%
BenchmarkFrontmatterTags/TOML:11-4     80117         18495         -76.92%
BenchmarkFrontmatterTags/TOML:21-4     140676        28727         -79.58%

benchmark                              old allocs     new allocs     delta
BenchmarkFrontmatterTags/TOML:1-4      173            60             -65.32%
BenchmarkFrontmatterTags/TOML:11-4     625            138            -77.92%
BenchmarkFrontmatterTags/TOML:21-4     1106           210            -81.01%

benchmark                              old bytes     new bytes     delta
BenchmarkFrontmatterTags/TOML:1-4      9231          2912          -68.45%
BenchmarkFrontmatterTags/TOML:11-4     19808         5184          -73.83%
BenchmarkFrontmatterTags/TOML:21-4     31200         7536          -75.85%
```

See #3541
Updates #3464
2017-06-03 09:22:57 +02:00
..
testdata hugolib: Clean up a benchmark 2017-01-03 17:08:59 +01:00
404_test.go hugolib: Add 404 test 2017-03-27 15:43:56 +02:00
alias.go tpl/collections: Make it a package that stands on its own 2017-05-01 15:13:41 +02:00
alias_test.go hugolib, output: Handle aliases for all HTML formats 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: Respect disableKinds=["sitemap"] 2017-05-31 10:57:19 +03:00
config_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
datafiles_test.go hugolib: Log WARNING only on unknown /data files 2017-04-18 18:47:37 +02:00
disableKinds_test.go hugolib: Add missing page kind to allKinds 2017-02-19 09:15:30 +01:00
embedded_shortcodes_test.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
gitinfo.go hugolib: Make missing GitInfo a WARNING 2017-04-26 11:03:12 +02: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 hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
handler_test.go Remove the now superflous defaultExtension 2017-03-27 15:43:56 +02:00
hugo_info.go Automate the Hugo release process 2017-04-24 11:08:56 +02:00
hugo_sites.go hugolib: Break early from sitemap disabled check 2017-05-31 12:55:51 +03:00
hugo_sites_build.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
hugo_sites_build_test.go hugolib: Bump leaktest timeout to 30 seconds 2017-06-02 16:50:44 +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 all: Temporarily revert to BurntSushi for TOML front matter handling 2017-06-03 09:22:57 +02:00
menu_test.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02: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: Refine allKindsInPages 2017-05-26 10:51:17 +03:00
page_collections.go hugolib: Fix ref/relref issue with duplicate base filenames 2017-05-26 10:42:45 +03:00
page_collections_test.go hugolib: Fix ref/relref issue with duplicate base filenames 2017-05-26 10:42:45 +03:00
page_output.go hugolib: Must recreate Paginator on live-reload 2017-04-12 21:15:51 +02:00
page_paths.go hugolib: The deprecated Extension, Now and TargetPath will now ERROR 2017-05-10 20:05:52 +02:00
page_paths_test.go hubolib: Narrow a test assertion 2017-04-27 13:00:24 +02:00
page_permalink_test.go Remove the now superflous defaultExtension 2017-03-27 15:43:56 +02:00
page_taxonomy_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
page_test.go Remove the now superflous defaultExtension 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 output: Rename HTMLType etc. to HTMLFormat 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
permalinker.go hugolib: Add optional outputFormat to Ref/RelRef 2017-04-04 23:09:01 +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 tpl: Add template function namespaces 2017-04-30 10:56:38 +02:00
scratch_test.go all: Refactor to nonglobal Viper, i18n etc. 2017-02-17 17:15:26 +01:00
shortcode.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
shortcode_test.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03: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 hubolib: Remove the regular page restriction from .Site.GetPage 2017-05-26 21:31:45 +03:00
site_benchmark_test.go hugolib: Add some more tags to benchmark 2017-06-02 18:40:10 +02:00
site_output.go hugolib: Fix output formats override when no outputs definition given 2017-05-17 19:00:15 +03:00
site_output_test.go hugolib: Fix RSSLink vs RSS Output Format 2017-05-17 22:14:31 +03:00
site_render.go hugolib: Handle shortcode per output format 2017-05-13 22:44:15 +03:00
site_test.go hugolib: Fix ref/relref issue with duplicate base filenames 2017-05-26 10:42:45 +03:00
site_url_test.go hubolib: Do not add missing trailing slash to command line baseURL 2017-04-07 20:18:31 +02: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 tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
taxonomy.go hubolib: Embed Page in WeightedPage 2017-05-09 23:58:25 +02: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: Add BenchmarkGetPage 2017-05-23 12:10:15 +03:00
translations.go hugolib: Remove unnecessary params 2017-03-08 12:28:56 +01:00