hugo/resources/page
Bjørn Erik Pedersen 37609262dc Add Page.Contents with scope support
Note that this also adds a new `.ContentWithoutSummary` method, and to do that we had to unify the different summary types:

Both `auto` and `manual` now returns HTML. Before this commit, `auto` would return plain text. This could be considered to be a slightly breaking change, but for the better: Now you can treat the `.Summary` the same without thinking about where it comes from, and if you want plain text, pipe it into `{{ .Summary | plainify }}`.

Fixes #8680
Fixes #12761
Fixes #12778
Fixes #716
2024-08-29 16:45:21 +02:00
..
page_generate all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
pagemeta Fix it so publishDate rolls up to section, taxonomy, or term pages 2024-07-01 21:48:12 +02:00
siteidentities all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
page.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
page_author.go hugolib: Deprecate site methods Author, Authors, and Social 2024-03-15 17:26:45 +01:00
page_data.go
page_data_test.go
page_integration_test.go testing: Simplify some integration tests 2024-01-28 22:17:22 +01:00
page_kinds.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_lazy_contentprovider.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
page_markup.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
page_markup_integration_test.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
page_markup_test.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
page_marshaljson.autogen.go Run mage generate 2024-05-02 10:49:09 +02:00
page_matcher.go Fix cascade-pattern-with-extension for cascade in site config 2024-02-26 17:29:37 +01:00
page_matcher_test.go common/hugo: Rename IsMultiHost and IsMultiLingual 2024-03-13 17:34:42 +02:00
page_nop.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
page_outputformat.go
page_paths.go resources/page: Escape hash sign in permalinks 2024-04-05 15:57:02 +02:00
page_wrappers.autogen.go Remove some old and unused deprecation code 2023-11-01 16:40:26 +01:00
pagegroup.go resources/page: Let GroupByParam return nil instead of error 2024-06-08 18:35:14 +02:00
pagegroup_test.go revamp pagegroup tests with quicktest 2024-08-02 10:03:20 +02:00
pages.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
pages_cache.go
pages_cache_test.go
pages_language_merge.go
pages_prev_next.go
pages_prev_next_integration_test.go Add config options page.nextPrevSortOrder/nextPrevInSectionSortOrder 2024-08-17 16:47:50 +02:00
pages_prev_next_test.go
pages_related.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
pages_related_test.go
pages_sort.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
pages_sort_search.go resources/page: Fix GoDoc comment 2024-03-22 08:56:10 +01:00
pages_sort_search_test.go
pages_sort_test.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
pages_test.go
pagination.go resources/page: Deprecate PageSize in favor of PagerSize 2024-06-09 12:28:24 +02:00
pagination_test.go resources/page: Deprecate PageSize in favor of PagerSize 2024-06-09 12:28:24 +02:00
path_integration_test.go resources/page: Escape hash sign in permalinks 2024-04-05 15:57:02 +02:00
permalinks.go resources/page: Expand parmalinks tokens in url 2024-08-01 12:14:29 +02:00
permalinks_integration_test.go resources/page: Expand parmalinks tokens in url 2024-08-01 12:14:29 +02:00
permalinks_test.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
site.go Implement defer 2024-06-23 11:25:47 +02:00
site_integration_test.go resources/page: Deprecate .Sites.First in favor of .Sites.Default 2024-06-01 18:02:19 +02:00
taxonomy.go resources/page: Add taxonomies Page method 2024-04-12 16:26:02 +02:00
taxonomy_integration_test.go resources/page: Add taxonomies Page method 2024-04-12 16:26:02 +02:00
testhelpers_test.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
weighted.go
zero_file.autogen.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00