{% if include.id %} {% assign id = include.id | default: 1 %} {% if include.horizontal %} {% assign photos = site.data.photos | where: 'horizontal', true %} {% else %} {% assign photos = site.data.photos %} {% endif %} {% assign photo = photos[id] %} {% if include.background %} {% elsif include.ratio %}
{% else %} {{ photo.title }} {% endif %} {% else %} {% include ui/svg.html width=640 height=480 border=true class=include.class %} {% endif %}