Published May 04, 2020
push
Appends an element to the end of an array.
Input:
{{ "John, Paul, George" | split: ", " | push: "Ringo" | join: ", " }}
Output:
"John, Paul, George, Ringo"
This filter also works on arrays with objects, generated by Plate:
{{ site.pages | push: page }}
Looking for labels? They can now be found in the details panel on the floating action bar.