Skip to content

Bug after installation #38

@creyD

Description

@creyD

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions