hugo/hugolib
Bjørn Erik Pedersen db4b7a5c67 Reuse the BlackFriday instance when possible
This is in heavy use in rendering, so this makes a difference:

```bash
benchmark                                                                                    old ns/op     new ns/op     delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_pages=500,tags_per_page=5,shortcodes,render-4     124551144     107743429     -13.49%

benchmark                                                                                    old allocs     new allocs     delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_pages=500,tags_per_page=5,shortcodes,render-4     528684         435118         -17.70%

benchmark                                                                                    old bytes     new bytes     delta
BenchmarkSiteBuilding/TOML,num_langs=1,num_pages=500,tags_per_page=5,shortcodes,render-4     53306848      45147832      -15.31%
```
2017-12-16 19:44:33 +01:00
..
testdata
404_test.go
alias.go
alias_test.go
author.go
case_insensitive_test.go
config.go Reuse the BlackFriday instance when possible 2017-12-16 19:44:33 +01:00
config_test.go
datafiles_test.go
disableKinds_test.go
embedded_shortcodes_test.go Use Chroma as new default syntax highlighter 2017-09-25 08:59:02 +02:00
gitinfo.go
handler_base.go
handler_file.go
handler_meta.go Clean up lint in various packages 2017-09-29 16:23:16 +02:00
handler_page.go Add Pandoc support, refactor external helpers 2017-11-30 12:15:52 +01:00
handler_test.go
hugo_info.go
hugo_sites.go Add support for multiple staticDirs 2017-11-17 11:01:46 +01:00
hugo_sites_build.go Only re-render the view(s) you're working on 2017-10-14 13:40:43 +02:00
hugo_sites_build_test.go hugolib: Make sure everything ends up in its lang root in multihost mode 2017-11-20 11:17:46 +01:00
hugo_sites_multihost_test.go hugolib: Make sure everything ends up in its lang root in multihost mode 2017-11-20 11:17:46 +01:00
media.go
menu.go Add .Title and .Page to MenuEntry 2017-12-15 18:49:21 +01:00
menu_old_test.go Add .Title and .Page to MenuEntry 2017-12-15 18:49:21 +01:00
menu_test.go Add .Title and .Page to MenuEntry 2017-12-15 18:49:21 +01:00
multilingual.go Add multilingual multihost support 2017-11-17 11:01:46 +01:00
node_as_page_test.go
page.go Reuse the BlackFriday instance when possible 2017-12-16 19:44:33 +01:00
page_collections.go hugolib: Pre-allocate some slices 2017-11-11 09:39:43 +01:00
page_collections_test.go
page_output.go Add support for multiple staticDirs 2017-11-17 11:01:46 +01:00
page_paths.go hugolib: Make sure everything ends up in its lang root in multihost mode 2017-11-20 11:17:46 +01:00
page_paths_test.go hugolib: Make sure everything ends up in its lang root in multihost mode 2017-11-20 11:17:46 +01:00
page_permalink_test.go
page_taxonomy_test.go
page_test.go Add Pandoc support, refactor external helpers 2017-11-30 12:15:52 +01:00
page_time_integration_test.go
pageCache.go hugolib: Implement "related content" 2017-09-06 00:20:02 +02:00
pageCache_test.go hugolib: Implement "related content" 2017-09-06 00:20:02 +02:00
pageGroup.go hugolib: Pre-allocate some slices 2017-11-11 09:39:43 +01:00
pageGroup_test.go
pages_related.go hugolib: Fix typo in aquired 2017-09-07 16:21:33 +02:00
pages_related_test.go Clean up lint in various packages 2017-09-29 16:23:16 +02:00
pageSort.go
pageSort_test.go hugolib: Implement "related content" 2017-09-06 00:20:02 +02:00
pagesPrevNext.go
pagesPrevNext_test.go
pagination.go Add support for multiple staticDirs 2017-11-17 11:01:46 +01:00
pagination_test.go
path_separators_test.go
permalinker.go
permalinks.go
permalinks_test.go
robotstxt_test.go
rss_test.go
scratch.go
scratch_test.go
shortcode.go
shortcode_test.go Add Pandoc support, refactor external helpers 2017-11-30 12:15:52 +01:00
shortcodeparser.go Remove the goroutines from the shortcode lexer 2017-12-07 23:08:25 +01:00
shortcodeparser_test.go
site.go helpers: Remove (now) unused GetStaticDir 2017-11-19 14:03:21 +01:00
site_benchmark_test.go Use StopTimer in site benchmarks 2017-12-05 16:17:11 +01:00
site_output.go
site_output_test.go tpl/tplimpl: Fix escaped HTML Go 1.9 multioutput issue (#3880) 2017-09-13 12:32:06 +02:00
site_render.go hugolib: Make sure everything ends up in its lang root in multihost mode 2017-11-20 11:17:46 +01:00
site_sections.go hugolib: Simplify Page.Eq 2017-08-17 09:43:39 +02:00
site_sections_test.go hugolib: Simplify Page.Eq 2017-08-17 09:43:39 +02:00
site_test.go Make sure Date and PublishDate is always set to a value if one is available 2017-10-13 13:18:23 +02:00
site_url_test.go
siteJSONEncode_test.go
sitemap.go
sitemap_test.go
taxonomy.go
taxonomy_test.go hugolib: Add some more taxonomy permalinks test cases 2017-11-07 23:42:47 +01:00
template_engines_test.go Fix broken shortcodes for Ace and Amber 2017-11-18 10:41:31 +01:00
template_test.go
testhelpers_test.go
translations.go hugolib: Fix .IsTranslated with identical filenames 2017-11-17 19:46:32 +01:00