-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
Fails to run with "can't evaluate field Site in type *page.siteWrapper" on Hugo v0.119.0 #662
Comments
I'm not able to replicate this issue and those site variables are not in the code you're referring to in the |
I’m running into something similar with moving some of my other code to work with congo… I think it has to do with my overuse of $.Scratch and the way context is passed around… might be helpful in your own spelunking, or might just be me :) |
I think these may be separate issues. My suspicion about the version of the theme in my comment above relates to the fact that @fedragon's website is currently running v2.3.1 and so that is potentially the source of the problem. One of the main issues I've had with Hugo's modules is that it is not very good at cleaning up the local cache when updating modules. The |
Yeah... I didn't think it likely to be the same root cause; but wanted to at least provide some sympathetic commiseration. Obscure YOUR input is far more useful to the reporter here ;) |
Hi @jpanther you are absolutely right. I just ran |
Issue description
Hello,
First of all, thank you for this amazing theme, I've been using it for a while and I'm very happy with it! This morning I upgraded Hugo to its latest version (
v0.119.0
) and then ranhugo serve
, and I got this error:I replaced both occurrences of
.Site
withsite
inpartials/functions/warnings.html
(as mentioned here) and that solved the issue.Cheers!
Theme version
v2.6.1
Hugo version
hugo v0.119.0-b84644c008e0dc2c4b67bd69cccf87a41a03937e+extended darwin/amd64
Which browser rendering engines are you seeing the problem on?
No response
URL to sample repository or website
No response
Hugo output or build error messages
The text was updated successfully, but these errors were encountered: