Variables in rendered snippets
- Variables that you create with
assignorcapturein a snippet rendered withrenderare kept inside the snippet. They are not visible after therendertag. - The value of a variable with the same name outside the snippet is not changed.
- Inside the snippet, you can still read the variables of the template, section or snippet where the tag is.
- With
include, variables are shared both ways. Seerender.