-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Consider _build vs build #11970
Comments
Are you passing "markup" as a key in the options map for .Page.RenderString? e.g.,
Or do you have a |
No, neither of both. And just passing a empty string as But using |
I added some page info ... But I fail to understand why the above happens. |
Hmm... I'm not sure I see the connection, but yea, I boldly renamed the |
Well, I'm just dumping metadata on a object described by a BTW: I really like the error messages with a reference to the causing content file, this also has the benefit that they aren't eaten up. |
@cmahnke OK. I will see if I can make that change less breaking. Note that we have created a separation between "Hugo page config" and "user defined params", so the recommended setup in 0.123.0 would be:
|
@bep Yes, I will do that. I guess the usual deprecation rules will apply for custom front matter fields as well. Thanks! |
* Throw a detailed error message in the mentioned case * Also fixed a dropped error Fixes gohugoio#11970
* Throw a detailed error message in the mentioned case * Also fixed a dropped error Fixes gohugoio#11970
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
Description
The site is building with Hugo 0.122.0, using the latest dev version it fails with this rather cryptic message:
@bep: Cann you please add a hint, like template file and line to be able to narrow it down?
The text was updated successfully, but these errors were encountered: