Modifier: replace


Find and replace all occurrences of a string with a totally different string.

description: This cat video is the okayest thing ever.
{{ description replace="cat|dog" }}
This dog video is the okayest thing ever.

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016