diff options
Diffstat (limited to 'templates/index.liquid')
| -rw-r--r-- | templates/index.liquid | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.liquid b/templates/index.liquid index 8c7fdc1..53086da 100644 --- a/templates/index.liquid +++ b/templates/index.liquid @@ -123,9 +123,9 @@ {% if media.type == 'image' %} <div class="cell desktop image" data-uri="{{ media.uri }}" style="{% if media.caption %}{{ media.caption }}{% endif %}"></div> {% elsif media.type == 'video' %} - <div class="cell desktop video" data-uri="{{ media.token }}" style="{% if media.caption %}{{ media.caption }}{% endif %}"></div> + <div class="cell desktop video" data-uri="{{ media.token }}" style="{% if media.title %}{{ media.title }}{% endif %}"></div> {% elsif media.type == 'link' %} - <div class="cell desktop iframe" data-uri="{{ media.uri }}" style="{% if media.caption %}{{ media.caption }}{% endif %}"></div> + <div class="cell desktop iframe" data-uri="{{ media.uri }}" style="{% if media.title %}{{ media.title }}{% endif %}"></div> {% endif %} {% endfor %} |
