class Liquid::Capture
- Liquid::Capture
- Liquid::Block
- Liquid::Tag
- Reference
- Object
Overview
Capture stores the result of a block into a variable without rendering it inplace.
{% capture heading %} Monkeys! {% endcapture %} ...
{{ heading }}
Capture is useful for saving content for use later in your template, such as in a sidebar or footer.
Defined in:
liquid/tags/capture.crConstant Summary
-
Syntax =
/(\w+)/