Closed weblabio closed 3 years ago
I'm not quite sure if it is possible or not, because we're depending on posthtml-extend
. If I'll somehow be able make it work using their plugins
option, I'll try to add it.
The extend functionality can make sense. It depends on the way you're using it. In your case it's obviously a problem that you cannot pass data.
This pull request will make this possible. Waiting for it to get merged.
Is it possible to pass variables to an extensible template? similar to how this is done in include
home.html
layouts/app.html
otherwise the extends functionality does not make sense, since the expandable part into reality can almost never be static