New filter: sample

Use the "sample" filter to pull a random value or several random values from an array.

{{ "1,2,3" | split: "," | sample }} => "2"
{{ "1,2,3" | split: "," | sample: 2 | join: "," }} => "3,1"

Read more