Commit e96482c5 authored by Jan-Philipp Stauffert's avatar Jan-Philipp Stauffert
Browse files

Try to fix single slide

parent a22bd9a9
......@@ -98,12 +98,12 @@
{% else %}
{% imgsrcset src="slide" class="hide" sizes="(min-width: 1180px) 1200, (min-width: 980px) 1020px, (min-width: 740px) 720px, 100vw" %}
{% endif %}
{% endfor %}
</div>
{% elsif slides.size == 1 %}
<div class="single-slide">
{% imgsrcset src="slides.first" dimension="panorama"%}
{% assign first_image = slides.first %}
{% imgsrcset src="first_image" dimension="panorama"%}
</div>
{% endif %}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment