Closed wilfredgithuka closed 6 years ago
It's stating you don't have any data in the carousel but have carousel enabled.
Either add data to /data/carousel
or set carousel = disable
in config.toml
Hi, I also encounter similar issue but i don't know where to fix it. Please help!
Building sites … ERROR 2018/06/27 10:41:27 Error while rendering "home" in "": template: index.html:1:3: executing "index.html" at <partial "widget_page...>: error calling partial: template: partials/widget_page.html:23:9: executing "partials/widget_page.html" at <partial $widget $par...>: error calling partial: template: partials/widgets/posts.html:65:51: executing "partials/widgets/posts.html" at <len .Params.tags>: error calling len: len of untyped nil
@tbs17 sounds unrelated, open a new issue
solved. Thank you!
For me, the issue was that I was building the website in RStudio using blogdown and when I set it up, there were some Rmd files in the /content/post/ folder which caused the error. I'll have to go back to read the blogdown book on how to incorporate Rmd files.
--- original comment ---
Hey @tbs17, would you mind sharing how you resolved the issue? I believe I have a similar problem.
ERROR 2018/08/22 17:06:13 Error while rendering "home" in "": template: index.html:4:3: executing "index.html" at <partial "widget_page...>: error calling partial: template: partials/widget_page.html:23:9: executing "partials/widget_page.html" at <partial $widget $par...>: error calling partial: template: partials/widgets/posts.html:65:51: executing "partials/widgets/posts.html" at <len .Params.tags>: error calling len: len of untyped nil
try to add tags: [xxx] in the front matter(the title section) in you .rmd file, then you won't hit the error message like above. Let me know if it works.
On Wed, Aug 22, 2018 at 5:22 PM fmerhout notifications@github.com wrote:
Hey @tbs17 https://github.com/tbs17, would you mind sharing how you resolved the issue? I believe I have a similar problem.
ERROR 2018/08/22 17:06:13 Error while rendering "home" in "": template: index.html:4:3: executing "index.html" at <partial "widget_page...>: error calling partial: template: partials/widget_page.html:23:9: executing "partials/widget_page.html" at <partial $widget $par...>: error calling partial: template: partials/widgets/posts.html:65:51: executing "partials/widgets/posts.html" at <len .Params.tags>: error calling len: len of untyped nil
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/devcows/hugo-universal-theme/issues/97#issuecomment-415184967, or mute the thread https://github.com/notifications/unsubscribe-auth/AhU-CyuOSm-gAtI4zJrpr7qE26KfzrUtks5uTcuTgaJpZM4OUH_p .
Thank you @tbs17, that did do the trick.
Error while rendering "home": template: theme/index.html:18:11: executing "theme/index.html" at <partial "carousel.ht...>: error calling partial: template: theme/partials/carousel.html:3:10: executing "theme/partials/carousel.html" at <len .Site.Data.carou...>: error calling len: len of untyped nil