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
Drops should use content setters if they exist #4312
Conversation
e1a4141
to
95a3c54
Compare
Thank you, I have added this change, but it does not fix my issue. |
--- | ||
foo: my custom data | ||
--- | ||
{{ content }} foo: {{ layout.foo }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my case I was doing {{ layout.foo }}
from parent layout file index.html
, not from custom.html
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See a9b80b2 for this. It works on master according to my scenario.
Yes, you are right, @parkr, thank you. I needed to install jekyll from master to make it work. |
@evgenyneu, this fixes your issue as defined here: #4246 (comment)