hugo/resources
Bjørn Erik Pedersen 1f23b4949c Fix some RenderShortcodes error cases
This issue fixes two cases where `{{__hugo_ctx` artifacts were left in the rendered output:

1. Inclusion when `.RenderShortcodes` is wrapped in HTML.
2. Inclusion of Markdown file without a trailing newline in some cases.

Closes #12854
Updates #12998
2024-11-03 13:33:31 +01: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 Fix some RenderShortcodes error cases 2024-11-03 13:33:31 +01: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 resources: Address Dart Sass deprecation of global built-in functions 2024-11-01 14:05:27 +01: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