hugo/hugolib
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
..
assets/images
filesystems Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
paths Fix it so disable a module does not disable transitive dependency required by others 2023-08-23 18:05:18 +02:00
testdata
testsite
404_test.go
alias.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
alias_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
breaking_changes_test.go
cascade_test.go
codeowners.go
collections.go
collections_test.go
config.go Don't use the OS environment when creating config for docs 2023-08-30 19:22:44 +02:00
config_test.go Deprecate taxonomyTerm 2023-07-28 15:14:24 +02:00
configdir_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
content_factory.go
content_factory_test.go
content_map.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
content_map_page.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
content_map_test.go
content_render_hooks_test.go
datafiles_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
dates_test.go
disableKinds_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
embedded_shortcodes_test.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
embedded_templates_test.go
fileInfo.go
fileInfo_test.go
frontmatter_test.go
gitinfo.go
hugo_modules_test.go Fix for data mounts in sub folders 2023-07-15 11:13:08 +02:00
hugo_sites.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
hugo_sites_build.go Avoid escaping HTML chars inside hugo_stats.json 2023-08-21 13:17:21 +02:00
hugo_sites_build_errors_test.go
hugo_sites_build_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
hugo_sites_multihost_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
hugo_sites_rebuild_test.go
hugo_smoke_test.go Fix recently broken benchmark 2023-09-12 11:50:31 +02:00
image_test.go
integration_test.go
integrationtest_builder.go Fix so temporary images do not get published 2023-07-30 18:52:34 +02:00
language_content_dir_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
language_test.go
menu_test.go Fix menuItem.URL when pageRef is not set 2023-06-02 09:04:00 +02:00
minify_publisher_test.go
mount_filters_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
page.go Fix RegularPagesRecursive for the home page 2023-08-30 13:44:04 +03:00
page__common.go
page__content.go
page__data.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page__fragments_test.go
page__menus.go
page__meta.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page__new.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
page__output.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
page__paginator.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page__paths.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page__per_output.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
page__position.go
page__ref.go
page__tree.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_kinds.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
page_permalink_test.go
page_test.go Fix .RawContent for empty content pages (#11407) 2023-08-30 10:11:20 +02:00
page_unwrap.go
page_unwrap_test.go
pagebundler_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
pagecollections.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
pagecollections_test.go Fix RegularPagesRecursive for the home page 2023-08-30 13:44:04 +03:00
pages_capture.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pages_capture_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
pages_language_merge_test.go
pages_process.go
pages_test.go
paginator_test.go
permalinker.go
prune_resources.go
rendershortcodes_test.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
renderstring_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
resource_chain_test.go Add retry in resources.GetRemote for temporary HTTP errors 2023-08-04 17:16:52 +02:00
robotstxt_test.go
rss_test.go
securitypolicies_test.go Upgrade to v2 of the Dart Sass Embedded Protocol 2023-06-12 13:47:38 +02:00
shortcode.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
shortcode_page.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
shortcode_test.go Add Page.RenderShortcodes 2023-08-03 20:00:57 +02:00
site.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
site_benchmark_new_test.go
site_new.go hugolib: Handle dropped error 2023-08-24 19:57:44 +03:00
site_output.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
site_output_test.go Add $image.Process 2023-09-24 11:54:29 +02:00
site_render.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
site_sections.go
site_sections_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
site_stats_test.go
site_test.go Avoid escaping HTML chars inside hugo_stats.json 2023-08-21 13:17:21 +02:00
site_url_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
siteJSONEncode_test.go
sitemap_test.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
taxonomy_test.go Move all Kind constants to its own package 2023-07-28 15:14:23 +02:00
template_test.go
testhelpers_test.go Fix defaultContentLanguageInSubdir with only 1 language 2023-07-08 16:08:46 +02:00
translations.go