{% if section.image.type == "video" %} {% set video = Video.get(link, section.image) %} {% set format = settings.ffmpeg.extension %} {% set vid = video.reencode((1280, 720)) %} {% else %} {% set image = Image.get(link, section.image) %} {% set caption = section.text %} {% endif %} {% if section.background %}
{% endif %}
{% if video %} {% else %} {% if caption %}
{{ caption }}
{% endif %}
{% endif %}
{% if section.background %}
{% endif %}