Liquid Filter Reference for map - v0.9.5

Filter Name map
Group Arrays
Version 0.9.5

Description

Creates an array of values by extracting the values of a named property from another object.

Examples

{% assign titles = pages | map: "title" %}

{% for item in titles -%}
- {{ item }}
{% endfor %}
- Home
- About Us
- Privacy Policy

Back to Filter List

Back to Liquid Reference for 0.9.5

 

 
Back to Documentation