summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.liquid2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.liquid b/templates/index.liquid
index 7894525..38d0c1a 100644
--- a/templates/index.liquid
+++ b/templates/index.liquid
@@ -113,7 +113,7 @@
</div>
{% for project in projects %}
<div class="item" data-id="{{ project.id }}">
- <div class="top {% if project.media[2] %}gallery{% endif %}">
+ <div class="top {% if project.media[2] %}gallery{% else %}single{% endif %}">
{% for media in project.media %} {% if media.type == 'image' %}
<div class="cell" style="background-image:url({{ media.uri }});
{% if media.caption %} background-size:{{ media.caption }}; {% endif %}"></div>