From a41437d73a9f4468d42e5fba6efbdc9a9bf501df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 14 Jan 2023 12:00:23 +0000 Subject: [PATCH] udpated docs --- exampleSite/content/docs/advanced-customisation/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/docs/advanced-customisation/index.md b/exampleSite/content/docs/advanced-customisation/index.md index a94399e5..09cdecb8 100644 --- a/exampleSite/content/docs/advanced-customisation/index.md +++ b/exampleSite/content/docs/advanced-customisation/index.md @@ -38,12 +38,12 @@ Hugo has various builtin methods to resize, crop and optimize images. As an example - in `layouts/partials/article-link/card.html`, you have the following code: ```go -{{ with .Fill "600x600" }} +{{ with .Resize "600x" }}
{{ end }} ``` -The default behavior of Hugo here is to use Smartcrop to dynamically set the anchor point (crop placement) on the image and resize it to fill 600x600px. +The default behavior of Hugo here is to resize the image to 600px keeping the ratio. It is worth noting here that default image configurations such as [anchor point](https://gohugo.io/content-management/image-processing/#anchor) can also be set in your [site configuration](https://gohugo.io/content-management/image-processing/#processing-options) as well as in the template itself.