diff options
| author | Jules Laplace <jules@okfoc.us> | 2016-04-05 18:44:13 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2016-04-05 18:44:13 -0400 |
| commit | 147d333764e625f81f9adaa716793efbf61cd280 (patch) | |
| tree | c3ac991f12607eac579b00355d283d3403a52c1b /templates | |
| parent | 7bbdaa82658f5676a9d1331f37dc0bbd3a3af663 (diff) | |
media title
Diffstat (limited to 'templates')
| -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 %} |
