{% comment %} Adds an iframe video embed from a YouTube or Vimeo link given in child item's object_location. {%- endcomment -%} {% if child.object_location contains 'vimeo' %} {% assign vimeo_id = child.object_location | split: '/' | last %}