In Jekyll - get the parent url path of a collection

{% assign current_collection = page.collection %}
{% assign collection_path = current_collection | split: '/' | pop | join: '/' %}