hugo/resources
Bjørn Erik Pedersen 271318ad78 Split parse and render for Goldmark
This also speeds up situations where you only need the fragments/toc and not the rendered content, e.g. Related
with fragments type indexing:

```bash

name            old time/op    new time/op    delta
RelatedSite-10    12.3ms ± 2%    10.7ms ± 1%  -12.95%  (p=0.029 n=4+4)

name            old alloc/op   new alloc/op   delta
RelatedSite-10    38.6MB ± 0%    38.2MB ± 0%   -1.08%  (p=0.029 n=4+4)

name            old allocs/op  new allocs/op  delta
RelatedSite-10      117k ± 0%      115k ± 0%   -1.36%  (p=0.029 n=4+4)
```

Fixes #10750
2023-02-24 10:40:06 +01:00
..
images Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
internal Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
jsconfig all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
page Split parse and render for Goldmark 2023-02-24 10:40:06 +01:00
postpub Add page fragments support to Related 2023-02-21 17:56:41 +01:00
resource Add page fragments support to Related 2023-02-21 17:56:41 +01:00
resource_factories Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
resource_transformers sass: Remove some unused leftover code 2023-02-23 07:57:53 +01:00
testdata deps: Upgrade github.com/bep/gowebp v0.1.0 => v0.2.0 2022-11-15 18:19:35 +01:00
docs.go Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
errorResource.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
image.go Only invoke a given cached partial once 2023-01-25 17:35:23 +01:00
image_cache.go Fix MediaType when reading images from cache 2022-04-16 16:36:15 +02:00
image_extended_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
image_test.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
integration_test.go resources: Improve error message on .Resize etc. on SVGs 2022-05-25 18:06:20 +02:00
post_publish.go Add basic "post resource publish support" 2020-04-07 21:59:20 +02:00
resource.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
resource_cache.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_cache_test.go Improve the server assets cache invalidation logic 2019-08-13 18:09:46 +02:00
resource_metadata.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
resource_metadata_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
resource_spec.go Add fill HTTP Response info into .Data in resources.GetRemote 2023-01-16 14:44:15 +01:00
resource_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
testhelpers_test.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
transform.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
transform_test.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00