From 5bb67bfd4d9c1200061ac6e06ea6ebae83b9c378 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Fri, 10 Nov 2023 16:15:47 -0800 Subject: [PATCH] Revert "Image Processing: Improve sentence and fix code sample" (#2318) --- .../gohugoio/gohugoioTheme/layouts/shortcodes/imgproc.html | 2 +- content/en/content-management/image-processing/index.md | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/imgproc.html b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/imgproc.html index c09133ba8..c76b782c3 100644 --- a/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/imgproc.html +++ b/_vendor/github.com/gohugoio/gohugoioTheme/layouts/shortcodes/imgproc.html @@ -6,7 +6,7 @@ Renders the given image using the given process specification. @returns template.HTML -@example {{< imgproc "sunset.jpg" "resize 300x" />}} +@example {{< imgproc "sunset.jpg" "resize 300x" }} */}} {{- with $.Get 0 }} diff --git a/content/en/content-management/image-processing/index.md b/content/en/content-management/image-processing/index.md index aaef7d80f..01728f558 100644 --- a/content/en/content-management/image-processing/index.md +++ b/content/en/content-management/image-processing/index.md @@ -475,9 +475,7 @@ includeFields : Regular expression matching the EXIF tags to include in the `.Tags` collection. Default is `""`. To include all available tags, set this value to `".*"`. {{% note %}} -To improve performance and decrease cache size, Hugo excludes the following tags: `ColorSpace`, `Contrast`, `Exif`, `Exposure[M|P|B]`, `Flash`, `GPS`, `JPEG`, `Metering`, `Resolution`, `Saturation`, `Sensing`, `Sharp`, and `WhiteBalance`. - -To control tag availability, change the `excludeFields` or `includeFields` settings as described above. +To improve performance and decrease cache size, if you set neither `excludeFields` nor `includeFields`, Hugo excludes the following tags: `ColorSpace`, `Contrast`, `Exif`, `Exposure[M|P|B]`, `Flash`, `GPS`, `JPEG`, `Metering`, `Resolution`, `Saturation`, `Sensing`, `Sharp`, and `WhiteBalance`. {{% /note %}} ## Smart cropping of images