Can't capture blocks or use instance variables #934
Unanswered
activestylus
asked this question in
Q&A
Replies: 1 comment
-
Hi, I suspect that the captured content doesn't land at the "right" place. Did you check that the current object (from where the instance variables are taken) is the same in both the layout and the page? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm rolling my own static site generator with Slim and am struggling to pass content to the layout from the page using instance variables or
content_for
.Lifted some code from Sinatra but no luck so far
Not throwing any errors, I simply end up with empty title and style tags in my layout.
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions