Open pauleveritt opened 1 year ago
Can you provide more context here? Is my-component.webc
a Eleventy template or a child WebC component? Where does renderTemplate live?
I’m guessing this was fixed with the data consistency review for https://github.com/11ty/webc/issues/88#issuecomment-1431779586 shipping in WebC v0.9.0
Let's say I have:
Then
my-component.webc
:If I render
my-component.webc
directly vianew WebC()
passing in page data, it works fine. But via Liquid, thethis
is missing page data, helpers, everything. (Confirmed with adebugger
statement.)If I replace my Liquid template with a WebC template, I get the full
this
.