Skip to content
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

Support for Liquid's Layouts #266

Open
nathan78906 opened this issue Mar 9, 2023 · 3 comments
Open

Support for Liquid's Layouts #266

nathan78906 opened this issue Mar 9, 2023 · 3 comments

Comments

@nathan78906
Copy link

I tried to render a Liquid template but got the following error related to the layout tag that was in the template:

liqp.exceptions.LiquidException: parser error "Invalid Tag: 'layout'" on line 1, index 3

Does Liqp not support the layout tag? Are there any plans to add this?

@msangel
Copy link
Collaborator

msangel commented Mar 9, 2023

No support so far.
On the plans hard to tell. Someone may implement this one day.

Anyway thanks for the request! This will be listed here in tasks so the chance to get this becomes higher.

@msangel
Copy link
Collaborator

msangel commented Mar 10, 2023

This feature is implemented by Shopify engine, and some 3rd party libraries(like mentioned above liquidjs).
But not yet by liquid itself: Shopify/liquid#270
So no specifications is also a problem.

@msangel
Copy link
Collaborator

msangel commented Mar 10, 2023

And since we are here. Its a good question on template inheritance and that magic {{ content }} from ruby code. Not the same, but related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants