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

Bug: View templates using layouts inherit block values #8

Open
Abbe98 opened this issue Jul 26, 2021 · 1 comment
Open

Bug: View templates using layouts inherit block values #8

Abbe98 opened this issue Jul 26, 2021 · 1 comment
Labels
🐛 bug Something isn't working

Comments

@Abbe98
Copy link
Collaborator

Abbe98 commented Jul 26, 2021

If a template using a layout leaves a block undefined the template will use a past block definition from another template already rendered.

The current way to bypass this is to set the block value to {{ "" }} which sets it to an empty string.

@Abbe98 Abbe98 added the 🐛 bug Something isn't working label Jul 26, 2021
@Abbe98 Abbe98 added this to the 0.1.0 milestone Jul 27, 2021
@Abbe98 Abbe98 removed this from the 0.1.0 milestone Sep 26, 2021
@Abbe98
Copy link
Collaborator Author

Abbe98 commented Sep 26, 2021

Dropped this from 0.1.0 as it's not critical and not easily implemented until we implement pre-parsed templates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant