1
0
Fork 0
hugo/helpers
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
..
content.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
content_test.go Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
docshelper.go deps: Udpate to github.com/alecthomas/chroma/v2 2022-06-14 14:08:40 +02:00
emoji.go all: Remove unused code 2023-12-18 19:51:26 +01:00
emoji_test.go markdown: Pass emoji codes to yuin/goldmark-emoji 2023-10-24 12:04:13 +02:00
general.go Consolidate all hashing to the common/hashing package 2024-07-31 16:44:06 +02:00
general_test.go Consolidate all hashing to the common/hashing package 2024-07-31 16:44:06 +02:00
path.go all: Typo fixes 2024-04-11 09:23:17 +02:00
path_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
pathspec.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
processing_stats.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
testhelpers_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
url.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_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