hugo/hugolib
Bjørn Erik Pedersen 5afc89f2bf Rework the build.writeStats struct
Mostly to make it easier to toggle on/off this feature from the env.

See #11191
2023-07-02 13:04:11 +02:00
..
assets/images Image resource refactor 2019-08-26 15:00:44 +02:00
filesystems Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
paths Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
testdata Allow whitelisting mediaTypes used in resources.GetRemote 2023-05-20 20:16:45 +02:00
testsite Add support for CODEOWNERS 2022-02-23 22:43:19 +01:00
404_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
alias.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
alias_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
breaking_changes_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
cascade_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
codeowners.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
collections.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
collections_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
config.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
config_test.go Fix output formats and media type per language config regression 2023-06-28 12:33:33 +02:00
configdir_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
content_factory.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
content_factory_test.go Add --force to hugo new 2022-09-08 15:35:11 +02:00
content_map.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00
content_map_page.go commands: Improve the common build flag handling 2023-05-17 22:13:29 +02:00
content_map_test.go Fix HasMenuCurrent and IsDescendant/IsAncestor when comparing to itself 2022-05-28 10:56:54 +02:00
content_render_hooks_test.go Split parse and render for Goldmark 2023-02-24 10:40:06 +01:00
datafiles_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
dates_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
disableKinds_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
embedded_shortcodes_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
embedded_templates_test.go Remove empty href element from pagination template 2021-12-02 09:14:30 +01:00
fileInfo.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
fileInfo_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
frontmatter_test.go Preserve front matter slice value types (e.g. int) 2023-01-17 08:58:05 +01:00
gitinfo.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
hugo_modules_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
hugo_sites.go Only print the path warnings once 2023-06-30 10:24:28 +02:00
hugo_sites_build.go Rework the build.writeStats struct 2023-07-02 13:04:11 +02:00
hugo_sites_build_errors_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
hugo_sites_build_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
hugo_sites_multihost_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
hugo_sites_rebuild_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
hugo_smoke_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
image_test.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
integration_test.go Annotate test assertions 2022-12-22 18:53:12 +01:00
integrationtest_builder.go Make build.writeStats a struct 2023-07-01 15:38:32 +02:00
language_content_dir_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
language_test.go Reduce binary size vs locale, update to CLDR v36.1 2021-08-02 19:40:32 +02:00
menu_test.go Fix menuItem.URL when pageRef is not set 2023-06-02 09:04:00 +02:00
minify_publisher_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
mount_filters_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
page.go Fix regression with site.IsServer when not running a server 2023-05-24 12:42:56 +02:00
page__common.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
page__content.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
page__data.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
page__fragments_test.go Add test for ToC vs include 2023-03-29 17:49:01 +02:00
page__menus.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
page__meta.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
page__new.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
page__output.go Fix .Fragments when called cross sites on uninitialized output format 2023-03-05 12:51:57 +01:00
page__paginator.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
page__paths.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00
page__per_output.go Fix regression with site.IsServer when not running a server 2023-05-24 12:42:56 +02:00
page__position.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
page__ref.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
page__tree.go resource/page: Slight adjustment of Page.Ancestors 2022-12-23 10:14:53 +01:00
page_kinds.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
page_permalink_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
page_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
page_unwrap.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
page_unwrap_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
pagebundler_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pagecollections.go all: Fix comments for exported functions and packages 2023-05-18 21:25:27 +02:00
pagecollections_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
pages_capture.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pages_capture_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pages_language_merge_test.go tpl/lang: Handle nil values in lang.Merge 2022-04-23 22:22:50 +02:00
pages_process.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
pages_test.go Add a benchmark 2021-05-04 17:59:04 +02:00
paginator_test.go Don't fail when calling Paginate with an empty pages.PagesGroup 2023-03-10 16:34:17 +01:00
permalinker.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
prune_resources.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
renderstring_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
resource_chain_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
robotstxt_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
rss_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
securitypolicies_test.go Upgrade to v2 of the Dart Sass Embedded Protocol 2023-06-12 13:47:38 +02:00
shortcode.go Fix "unknown shortcode token" when calling shortcode within fenced code block 2023-03-12 11:39:38 +01:00
shortcode_page.go Fix .Fragments when called cross sites on uninitialized output format 2023-03-05 12:51:57 +01:00
shortcode_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
site.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
site_benchmark_new_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
site_new.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
site_output.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
site_output_test.go Re-add site.RSSLink (and deprecate it) 2023-06-14 12:18:11 +02:00
site_render.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
site_sections.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
site_sections_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
site_stats_test.go Replace deprecated ioutil with io and os 2023-03-01 16:28:43 +01:00
site_test.go Rework the build.writeStats struct 2023-07-02 13:04:11 +02:00
site_url_test.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00
siteJSONEncode_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
sitemap_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
taxonomy_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
template_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
testhelpers_test.go Don't panic on invalid security whitelist regexp 2023-06-28 08:57:28 +02:00
translations.go hugolib: Exclude non-linkable pages from translations map 2022-12-22 18:53:12 +01:00