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

Bug after installation #38

Open
creyD opened this issue Feb 12, 2024 · 1 comment
Open

Bug after installation #38

creyD opened this issue Feb 12, 2024 · 1 comment

Comments

@creyD
Copy link

creyD commented Feb 12, 2024

I am getting this error message after doing the installation of the theme as it is described on the page. After the last step I simply add theme=roxo-hugo in my hugo.toml and the error appears. Without it the site just says "Page not found". It is a clean hugo install and this is showing up when I do hugo server.

ERROR render of "page" failed: "PATH/webpage_name/themes/roxo-hugo/layouts/_default/baseof.html:5:12": execute of template failed: template: blog/single.html:5:12: executing "blog/single.html" at <partial "header.html" .>: error calling partial: "PATH/webpage_name/themes/roxo-hugo/layouts/partials/header.html:20:19": execute of template failed: template: partials/header.html:20:19: executing "partials/header.html" at <len $menu>: error calling len: reflect: call of reflect.Value.Type on zero Value
ERROR render of "page" failed: "PATH/webpage_name/themes/roxo-hugo/layouts/_default/baseof.html:5:12": execute of template failed: template: portfolio/single.html:5:12: executing "portfolio/single.html" at <partial "header.html" .>: error calling partial: "PATH/webpage_name/themes/roxo-hugo/layouts/partials/header.html:20:19": execute of template failed: template: partials/header.html:20:19: executing "partials/header.html" at <len $menu>: error calling len: reflect: call of reflect.Value.Type on zero Value
Built in 32 ms
Error: error building site: render: failed to render pages: render of "page" failed: "PATH/webpage_name/themes/roxo-hugo/layouts/_default/baseof.html:5:12": execute of template failed: template: blog/single.html:5:12: executing "blog/single.html" at <partial "header.html" .>: error calling partial: "PATH/webpage_name/themes/roxo-hugo/layouts/partials/header.html:20:19": execute of template failed: template: partials/header.html:20:19: executing "partials/header.html" at <len $menu>: error calling len: reflect: call of reflect.Value.Type on zero Value
@matteomarjanovic
Copy link

I solved that by copying the content of exampleSite/config.toml in hugo.toml file.

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

2 participants