Modifier: where


Filter an array (such as a Replicator field’s data) to items where a key has a specific value.

games:
  -
    feeling: love
    title: Dominion
  -
    feeling: love
    title: Netrunner
  -
    feeling: hate
    title: Chutes and Ladders
<h2>I love...</h2>
{{ games where="feeling:love" }}
  {{ title }}<br>
{{ /games }}
Dominion
Netrunner

Additional Reading

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

Last modified on April 21, 2017