That gives this error:
failed to render shortcode "img": failed to process shortcode: "C:\Users\manas\Desktop\website-backend\framework\layouts\shortcodes\img.html:4:19": execute of template failed at <$image.RelPermalink>: nil pointer evaluating resource.Resource.RelPermalink
Edit: googling this error says that I need to mark my image as an asset. I’ll try that.
But I still don’t understand why the original <img src="{{ $image }}" alt="test test test ">
does not work.