We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Filters crash when trying to access assigns[:layout].attributes since assigns[:layout] seems to be nil whether item is laid out or not.
assigns[:layout].attributes
assigns[:layout]
nil
I noticed this while using Nanoc::Filters::Handlebars but I can't tell whether the access should not happen or assigns[:layout] should not be nil.
Nanoc::Filters::Handlebars
I'm happy to provide further details about my setup if necessary. Using 3.6.5 currently.
The text was updated successfully, but these errors were encountered:
Can you share your crash.log and your Rules files (preferrably on gist)?
crash.log
Rules
Sorry, something went wrong.
Here you go: https://gist.github.com/raphinesse/ea8de76518178bc03172
The only change I made to the default site template was replacing the ERB filtering step with Handlebars filtering.
That’s indeed a bug. Will fix.
Fixed in PR #348.
No branches or pull requests
Filters crash when trying to access
assigns[:layout].attributes
sinceassigns[:layout]
seems to benil
whether item is laid out or not.I noticed this while using
Nanoc::Filters::Handlebars
but I can't tell whether the access should not happen orassigns[:layout]
should not benil
.I'm happy to provide further details about my setup if necessary. Using 3.6.5 currently.
The text was updated successfully, but these errors were encountered: