Classes
Let
2
▼
Template-scoped variable: {% let x = expr %}
Let
2
▼
Template-scoped variable: {% let x = expr %}
Attributes
| Name | Type | Description |
|---|---|---|
name |
Expr
|
— |
value |
Expr
|
— |
Set
2
▼
Block-scoped variable: {% set x = expr %}
Set
2
▼
Block-scoped variable: {% set x = expr %}
Attributes
| Name | Type | Description |
|---|---|---|
target |
Expr
|
— |
value |
Expr
|
— |
Export
2
▼
Export variable from inner scope: {% export x = expr %}
Export
2
▼
Export variable from inner scope: {% export x = expr %}
Attributes
| Name | Type | Description |
|---|---|---|
name |
Expr
|
— |
value |
Expr
|
— |
Capture
3
▼
Capture block content: {% capture x %}...{% end %}
Capture
3
▼
Capture block content: {% capture x %}...{% end %}
Attributes
| Name | Type | Description |
|---|---|---|
name |
str
|
— |
body |
Sequence[Node]
|
— |
filter |
Filter | None
|
— |