summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
author“Ryder <“r@okfoc.us”>2016-03-30 12:46:53 -0400
committer“Ryder <“r@okfoc.us”>2016-03-30 12:46:53 -0400
commit15e6d6b768ac1f82fed65e1439962c0c26557ea5 (patch)
treeb54afd73228761482f7abd3895f152de9806ef52 /templates
parentd755e31b7cd8c79c31c209283962d89451923d9d (diff)
100 percent buttons on single not multi galleries
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>