Jekyll remove first in array?

Viewed 2280

I noticed there is a remove_first function in liquid. Is it possible to use this to remove the first in an array?

For example:

{% animals = 'animals/cat/dog/bird' | split: '/' | remove_first %}

The above doesn't work, as it seems you're supposed to pass in a substring, like I am with split.

Is there anyway to do this with Jekyll liquid tags?

1 Answers
Related