1)I tried
Open the homepage template file, which is typically located at layouts/_default/baseof.html or layouts/index.html.
Use the resources.Get function to get the resource object for your image, and then use the Resize method to resize the image if needed. For example:
{{ $image := resources.Get “images/image.jpg” }}
{{ $resized := $image.Resize “600x” }}
But this gave me the error like this one website
**Since index.html is not there in the current version where should I go and and add image
pradnyapurushottam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.