Revert "Image Processing: Improve sentence and fix code sample" (#2318)

This commit is contained in:
Joe Mooring 2023-11-10 16:15:47 -08:00 committed by GitHub
parent 77c926fdeb
commit 5bb67bfd4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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 }}

View File

@ -475,9 +475,7 @@ includeFields
: Regular expression matching the EXIF tags to include in the `.Tags` collection. Default is&nbsp;`""`. To include all available tags, set this value to&nbsp;`".*"`.
{{% 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