Skip to main content
Note #4

Nunjucks and Liquid have different methods for passing arguments to a filter.

In Nunjucks, it’s:

{{ 'value' | filter('arg') }}

In Liquid, it’s:

{{ 'value' | filter: 'arg' }}

Browse all notes