summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-03-30 13:47:30 -0400
committerJules Laplace <jules@okfoc.us>2016-03-30 13:47:30 -0400
commit0663f93a09b49ccf6681926fffe00858cddf2176 (patch)
treee78d01f2d21ecc5b4a0db285d4e0c587d9c9fe7b /templates
parentac14d77fdb071828806bebf1920e1b150f3c6359 (diff)
parent15e6d6b768ac1f82fed65e1439962c0c26557ea5 (diff)
merge
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 5c76a11..4d02dd4 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">
+ <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>