calintat / minimal

Personal blog theme powered by Hugo
https://themes.gohugo.io/minimal/
MIT License
404 stars 221 forks source link

Error: Error building site: failed to render pages: render of "home" failed: execute of template failed... #113

Open ursus-the-bear opened 3 years ago

ursus-the-bear commented 3 years ago

I am starting from scratch and would like to use this template. I have installed MULTIPLE times using the directions but nothing works.

Steps to reproduce:

mkdir test.site
cd test.site
hugo new site ./ -f=yaml --force
git init
git submodule add https://github.com/hugo-toha/toha.git themes/toha
hugo server -t toha -w

I then get the error:

Start building sites … Built in 6 ms Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:35:8: executing "index.html" at <partial "navigators/navbar.html" .>: error calling partial: "/Users/ursus/dev/test/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

I have tried to add pages etc. any help would be greatly appreciated. Thanx

BTW: I am using Hugo 0.80.0 on a Mac - same problem on a linux and windows box though!