hugo/resources/page
Bjørn Erik Pedersen ef0e7149d6 Add $image.Process
Which supports all the existing actions: resize, crop, fit, fill.

But it also allows plain format conversions:

```
{{ $img = $img.Process "webp" }}
```

Which will be a simple re-encoding of the source image.

Fixes #11483
2023-09-24 11:54:29 +02:00
..
page_generate Remove unused autogenerated method 2023-07-28 10:31:37 +02:00
pagemeta Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
integration_test.go Fix permalinks issue with repeated sections 2023-01-17 12:49:16 +01:00
page.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
page_author.go Remove references to Google+ 2019-05-26 19:24:45 +02:00
page_data.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
page_data_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
page_kinds.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_lazy_contentprovider.go Fix .Fragments when called cross sites on uninitialized output format 2023-03-05 12:51:57 +01:00
page_marshaljson.autogen.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
page_matcher.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_matcher_test.go Add hugo.WorkingDir 2023-05-20 17:45:56 +02:00
page_nop.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
page_outputformat.go Fix surprise OutputFormat.Rel overwriting 2022-01-04 10:38:38 +01:00
page_paths.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_paths_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_wrappers.autogen.go Finally remove deprecated Page methods 2022-02-14 13:24:36 +01:00
pagegroup.go Don't fail when calling Paginate with an empty pages.PagesGroup 2023-03-10 16:34:17 +01:00
pagegroup_test.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
pages.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
pages_cache.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
pages_cache_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pages_language_merge.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
pages_prev_next.go Correct typos in Go comments 2023-03-02 16:32:32 +01:00
pages_prev_next_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
pages_related.go related: Add config option cardinalityThreshold 2023-02-23 17:06:22 +01:00
pages_related_test.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
pages_sort.go Fix potential deadlock in ByParam 2023-05-29 14:01:07 +02:00
pages_sort_search.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
pages_sort_search_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
pages_sort_test.go Add page fragments support to Related 2023-02-21 17:56:41 +01:00
pages_test.go all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
pagination.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
pagination_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
permalinks.go Add $image.Process 2023-09-24 11:54:29 +02:00
permalinks_integration_test.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00
permalinks_test.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00
site.go Re-add site.RSSLink (and deprecate it) 2023-06-14 12:18:11 +02:00
taxonomy.go Fix potential deadlock in ByParam 2023-05-29 14:01:07 +02:00
testhelpers_page_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
testhelpers_test.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
weighted.go Some godoc adjustments and image struct renames 2022-04-27 23:53:56 +02:00
zero_file.autogen.go Misc permalinks adjustments 2023-06-29 10:14:19 +02:00