hugo/hugolib
Bjørn Erik Pedersen 7917961d59 Misc permalinks adjustments
* Move config loading to the page package
* Fix a lower bound panic for the `:sections` slice syntax.
* Always return the `:title`
* Add some permalinks integration tests
* Also see issues below

Fixes #9448
Fixes #11184
See #8523
2023-06-29 10:14:19 +02:00
..
assets/images
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
404_test.go
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
collections_test.go
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
content_factory_test.go
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
content_render_hooks_test.go
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
embedded_shortcodes_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
embedded_templates_test.go
fileInfo.go
fileInfo_test.go
frontmatter_test.go
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 Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
hugo_sites_build.go Fix false path warnings with resources.PostProcess 2023-06-27 21:55:35 +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
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
integration_test.go
integrationtest_builder.go Misc permalinks adjustments 2023-06-29 10:14:19 +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
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
page__data.go
page__fragments_test.go
page__menus.go
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
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
page__ref.go
page__tree.go
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
page_unwrap_test.go
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
pages_process.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
pages_test.go
paginator_test.go
permalinker.go
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
shortcode_page.go
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
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
site_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
site_url_test.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00
siteJSONEncode_test.go
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