{% assign src = include.src | strip %} {% assign title = include.title | strip %} {% assign types = include.types | default: '' | strip | split: '|' %} {% unless src contains '://' %} {%- capture src -%} {% include media-url.html src=src subpath=page.media_subpath %} {%- endcapture -%} {% endunless %}

{% if title %} {{ title }} {% endif %}