-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add Navbar shape for Liquid #15532
Add Navbar shape for Liquid #15532
Conversation
@sebastienros with this change, I am expecting to be able to add the following in a
Then later in the same file, I want to print out the rendered shape like this
However, this is not working as expected. Any idea why |
If I add use filter it works but I should not have to use filter. Here is how it works using filters. First I register the temporary filter Beside the following, what else do I need to do so that Liquid recognize
|
I think it's not possible right now, because there is no way to evaluate a FluidValue ( Only property accessors are asynchronous ( An alternative could be to create a custom Function and register it like this:
And then use it this way:
NB: It could even take arguments |
Fix #15148