hugo/common/hugo
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
..
hugo.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
hugo_integration_test.go common/hugo: Rename IsMultiHost and IsMultiLingual 2024-03-13 17:34:42 +02:00
hugo_test.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
vars_extended.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
vars_regular.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
version.go Revise the deprecation logging 2023-10-26 20:41:19 +02:00
version_current.go releaser: Prepare repository for 0.134.0-DEV 2024-08-26 14:13:52 +00:00
version_test.go common/hugo: Fix version logic 2022-05-16 13:01:52 +02:00