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 multiple content blocks using Nunjucks while honoring the data cascade #3087

Open
euro opened this issue Nov 2, 2023 · 1 comment

Comments

@euro
Copy link

euro commented Nov 2, 2023

Is your feature request related to a problem? Please describe.

The njk system supports extends and blocks but this seems to break Eleventy’s data cascade.

Describe the solution you'd like

I would like to see support for multiple named content blocks that can be implemented in templates and identified in the content files.

Describe alternatives you've considered

No response

Additional context

No response

@zachleat
Copy link
Member

zachleat commented Nov 3, 2023

Related in Liquid: https://liquidjs.com/tags/layout.html#Multiple-Blocks

Gray matter sections seems similar too: #2502

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

No branches or pull requests

2 participants