Closed sdebruyn closed 5 years ago
Similar thing for me, when trying to run this theme against my blog source I get following:
Building sites … ERROR 2018/03/20 16:00:26 Error while rendering "page" in "": template: theme/_default/single.html:3:3: executing "theme/_default/single.html" at <partial "content.htm...>: error calling partial: template: theme/partials/content.html:33:19: executing "theme/partials/content.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 16:00:26 Error while rendering "page" in "post/": template: theme/_default/single.html:3:3: executing "theme/_default/single.html" at <partial "content.htm...>: error calling partial: template: theme/partials/content.html:33:19: executing "theme/partials/content.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 16:00:26 Error while rendering "home" in "": template: theme/index.html:9:3: executing "theme/index.html" at <partial "main_menu.h...>: error calling partial: template: theme/partials/main_menu.html:2:11: executing "theme/partials/main_menu.html" at <sort .Site.Menus.mai...>: error calling sort: sequence must be provided
The reason is likely some absent .Site.
parameter but you can't tell it from error message, I guess input parameters handling could be improved.
I'm using 0.32.4
I get this error when I render a new site with just the about page from the demo site: