Hi there,
I’m getting the following error when trying to load a png in my site.
I’m using the latest version of hugo with the Toha template and I’m trying to follow the setup guide listed here.
When trying to set the image inside the author.yaml file, and the file exists in my resources/_gen/images/author/author.png
I get the following error:
ERROR 2022/08/08 16:34:56 Failed to render pages: render of “home” failed: execute of template failed: template: index.html:42:8: executing “index.html” at <partial “sections/home.html” .>: error calling partial: “/themes/toha/layouts/partials/sections/home.html:31:44”: execute of template failed: template: partials/sections/home.html:31:44: executing “partials/sections/home.html” at <$authorImage.MediaType.SubType>: nil pointer evaluating resource.Resource.MediaType
Has anyone faced this issue before?
Best regards!