toha: bug - Error: Error building site: failed to render pages: render of "home" failed
Expected Behavior
Website should render
Current Behavior
Website failed to render
Possible Solution
Steps to Reproduce
hugo new site ./ -f=yaml --forcegit initgit submodule add https://github.com/hugo-toha/toha.git themes/tohahugo server -t toha -w
Detailed Description
hugo server -t toha -w
Start building sites …
Built in 27 ms
Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:34:8: executing "index.html" at <partial "navigators/navbar.html" .>: error calling partial: "/tmp/testsite/themes/toha/layouts/partials/navigators/navbar.html:15:33": execute of template failed: template: partials/navigators/navbar.html:15:33: executing "partials/navigators/navbar.html" at <$mainLogo.MediaType.SubType>: nil pointer evaluating resource.Resource.MediaType
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 34 (16 by maintainers)
@hossainemruz Sorry for the late response. I was able to merge your MR by starting a new pipeline from the merge request. Thanks for your help, everything is now as it should be. 😃
To solve it I created a
assets/images/sitefolders in the root directory and moved the images there.