-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
series.html: error calling len: reflect: call of reflect.Value.Type on zero Value #844
Comments
Hey! It looks like something related with a |
I don't think so, but I am no expert so I made the repo public (just for debug): https://github.com/federicotravaini/federico-travaini-xyz-website Can you have a look into it? PS If i run it locally I have no errors |
Ok I was running Hugo 0.115 locally and the ExampleSite works
|
Right. So, it is Hugo breaking things. xD For now, you could pin the working version. I'll try to fix it later and tell here. |
This works fine as long as [taxonomies]
category = 'categories' # default taxonomy
tag = 'tags' # default taxonomy
series = "series" is defined in the config file (tested with hugo v0.135) |
I am trying to deploy the examplewebsite with githubg and cloudflare: https://developers.cloudflare.com/pages/framework-guides/deploy-a-hugo-site/
I encounter this error
ERROR render of "page" failed: "/opt/buildhome/repo/themes/hugo-coder/layouts/posts/single.html:43:11": execute of template failed: template: posts/single.html:43:11: executing "content" at <partial "posts/series.html" .>: error calling partial: "/opt/buildhome/repo/themes/hugo-coder/layouts/partials/posts/series.html:7:14": execute of template failed: template: partials/posts/series.html:7:14: executing "partials/posts/series.html" at <len $series.Pages>: error calling len: reflect: call of reflect.Value.Type on zero Value
How can I fix it?
PS: If I run the site on local mac it works just fine.
The text was updated successfully, but these errors were encountered: