diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-03-30 13:47:30 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-03-30 13:47:30 -0400 |
| commit | 0663f93a09b49ccf6681926fffe00858cddf2176 (patch) | |
| tree | e78d01f2d21ecc5b4a0db285d4e0c587d9c9fe7b /templates | |
| parent | ac14d77fdb071828806bebf1920e1b150f3c6359 (diff) | |
| parent | 15e6d6b768ac1f82fed65e1439962c0c26557ea5 (diff) | |
merge
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.liquid | 2 |
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> |
