hugo/common/types
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
..
css all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
hstring all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
closer.go Add a HTTP cache for remote resources. 2024-06-04 16:07:39 +02:00
convert.go all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
convert_test.go all: Run gofumpt -l -w . 2024-01-28 23:14:09 +01:00
evictingqueue.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
evictingqueue_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
types.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
types_test.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00