{{ text }} --- from page {{ page }} {% for media_entry in media %} {% match media_entry %} {% when Media::Image with (url) %} {% when Media::Video with (url) %} {% endmatch %} {% endfor %}