hugo/common/paths
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
..
path.go Implement defer 2024-06-23 11:25:47 +02:00
path_test.go Implement defer 2024-06-23 11:25:47 +02:00
pathparser.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
pathparser_test.go Create pages from _content.gotmpl 2024-05-14 13:12:08 +02:00
paths_integration_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
pathtype_string.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
url.go all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
url_test.go tpl/urls: Retain query and fragment with absURL and absLangURL 2023-12-04 11:41:30 +01:00