Skip to main content
Use the arc:render keyword to render templates.

Parameters

  • template: The .rst file to evaluate.
  • templateData: The in-memory template to evaluate.
  • in[put]: A comma-separated list of items to pass into the template.
  • out[put]: The resulting item or feed.
  • to: The attribute to push the result into.
    You can also save the result by wrapping the arc:render statement with a multi-line arc:set.
  • onerror: The action to perform when an error is encountered in a template. Set this to clear to call and render a template only if there is no exception.

Control Attributes

None

Examples

Catch an exception so the main template can render the rest of the content:
Render an in-memory template:

See Also