Skip to main content
seanmcp.com

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' }}