jekyll: 3.9.3
liquid: 4.0.4

list = ['a','b','c','d']

list: ["a","b","c","d"]

list = list | push: 'y'

list: ["a","b","c","d","y"]

list = list | unshift: 'x'

list: ["x","a","b","c","d","y"]

list = list | pop

list: ["x","a","b","c","d"]

list = list | shift

list: ["a","b","c","d"]

list.first; list.last

list.first: "a"
list.last: "d"

list1 = ['Seattle', 'Tacoma', 'Spokane']

list1: ["Seattle","Tacoma"]

list1 | push: "Spokane"

unshift: ["Seattle","Tacoma","Spokane"]

list1 | pop

pop: ["Seattle"]

list1 | shift

shift: ["Tacoma"]

list1 | unshift: "Olympia"

unshift: ["Olympia","Seattle","Tacoma"]