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

fail to build site using hugo v0.88.1 - nil pointer evaluating navigation.Page.Params #24

Open
maiatoday opened this issue Sep 12, 2021 · 0 comments

Comments

@maiatoday
Copy link

I followed instructions in the readme and go the theme working on an older version of hugo. however I updated my hugo recently and the site won't build. Below is the error. it is a minimal hugo site with just the theme added. I updated because github actions use this version of hugo

hugo v0.88.1+extended darwin/amd64 BuildDate=unknown
WARN 2021/09/12 22:02:52 Page.URL is deprecated and will be removed in a future release. Use .Permalink or .RelPermalink. If what you want is the front matter URL value, use .Params.url
ERROR 2021/09/12 22:02:52 render of "page" failed: execute of template failed: template: _default/single.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
ERROR 2021/09/12 22:02:52 render of "page" failed: execute of template failed: template: _default/single.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
ERROR 2021/09/12 22:02:52 render of "section" failed: execute of template failed: template: team/list.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
ERROR 2021/09/12 22:02:52 render of "taxonomy" failed: execute of template failed: template: taxonomy/list.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:10:3: executing "header" at <partial "header.html" .>: error calling partial: "/Users/maia/workspace/gdg/devfest-za/themes/devfest-theme-hugo/layouts/partials/header.html:27:27": execute of template failed: template: partials/header.html:27:27: executing "partials/header.html" at <.Page.Params>: nil pointer evaluating navigation.Page.Params
Built in 30 ms
githubmonkey added a commit to githubmonkey/devfest-theme-hugo that referenced this issue Sep 14, 2021
Bug fix to deal with issue GDGToulouse#24
This was referenced Sep 14, 2021
mnestor pushed a commit to NolaCon/nolacon-theme-hugo that referenced this issue Feb 12, 2022
Bug fix to deal with issue GDGToulouse#24
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

1 participant