Template Tags
{% bowl %}
Usage:
{% bowl path %}
{% endbowl %}
Loads HTML from a file for use by child tags (between bowl and endbowl).
path |
Path to a static HTML file relative to your Django site root. |
{% chop %}
Usage:
{% chop "selector" target="tag|inner|attr" attr="" %}
{% endchop %}
Finds one or more elements and applies the specified updates to each. The rendered child content will be applied to the target.
selector |
CSS selection expression (similar to jQuery). |
target |
|
attr (optional) |
The name of the elements’ attribute to add/replace. Required when target is attr. |
{% chunk %}
Usage:
{% chunk %}
Emits the current value of the selected tag in-place, to be rendered as part of the entire chop body.