Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to build the site #97

Closed
wilfredgithuka opened this issue Jul 11, 2017 · 7 comments
Closed

Error while trying to build the site #97

wilfredgithuka opened this issue Jul 11, 2017 · 7 comments

Comments

@wilfredgithuka
Copy link

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

@GeorgeWL
Copy link
Contributor

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

@GeorgeWL GeorgeWL closed this as completed Sep 1, 2017
@tbs17
Copy link

tbs17 commented Jun 27, 2018

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

@GeorgeWL GeorgeWL reopened this Jun 27, 2018
@GeorgeWL
Copy link
Contributor

@tbs17 sounds unrelated, open a new issue

@tbs17
Copy link

tbs17 commented Jul 1, 2018

solved. Thank you!

@fmerhout
Copy link

fmerhout commented Aug 22, 2018

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

@tbs17
Copy link

tbs17 commented Aug 23, 2018 via email

@fmerhout
Copy link

Thank you @tbs17, that did do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants