hugo/resources
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
..
assets Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
images Fix compare of uints and ints in eq, gt etc. 2024-08-10 14:00:21 +02:00
internal Consolidate all hashing to the common/hashing package 2024-07-31 16:44:06 +02:00
jsconfig all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
kinds all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
page Add Page.Contents with scope support 2024-08-29 16:45:21 +02:00
postpub Create pages from _content.gotmpl 2024-05-14 13:12:08 +02:00
resource Fix missing method NameNormalized panic 2024-08-25 23:17:26 +02:00
resource_factories resources: Add URI GetRemote error 2024-08-14 13:24:58 +02:00
resource_transformers identity: Use xxHash in hashstructure (note) 2024-07-31 16:44:06 +02:00
testdata Fix images.AutoOrient regression 2024-08-02 10:36:06 +02:00
docs.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
errorResource.go Add Luminance to Color 2024-04-16 10:02:46 +02:00
image.go Shorten processed image filenames 2024-07-31 16:44:06 +02:00
image_cache.go Fix multihost processed image not copied to non-default content languages 2024-02-27 10:43:23 +01:00
image_extended_test.go Shorten processed image filenames 2024-07-31 16:44:06 +02:00
image_test.go Shorten processed image filenames 2024-07-31 16:44:06 +02:00
post_publish.go Add basic "post resource publish support" 2020-04-07 21:59:20 +02:00
resource.go Replace the MD5 hashing of images with xxHash 2024-07-31 16:44:06 +02:00
resource_cache.go Add a HTTP cache for remote resources. 2024-06-04 16:07:39 +02:00
resource_metadata.go Create pages from _content.gotmpl 2024-05-14 13:12:08 +02:00
resource_spec.go Switch EXIF library 2024-07-20 15:56:10 +02:00
resource_spec_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
resource_test.go resources: Add BenchmarkHashImage 2024-07-31 16:44:06 +02:00
resources_integration_test.go Shorten processed image filenames 2024-07-31 16:44:06 +02:00
testhelpers_test.go resource: Revert the normalization of Resource.Name 2024-02-25 14:57:29 +01:00
transform.go Consolidate all hashing to the common/hashing package 2024-07-31 16:44:06 +02:00
transform_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
transform_test.go Shorten processed image filenames 2024-07-31 16:44:06 +02:00