summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js1
-rw-r--r--templates/index.liquid4
2 files changed, 2 insertions, 3 deletions
diff --git a/index.js b/index.js
index 746f42d..1e62275 100644
--- a/index.js
+++ b/index.js
@@ -40,7 +40,6 @@ var app = okcms.createApp({
brief: {type: 'text'},
media: {type: 'media-list'},
mobileMedia: {type: 'media-list'},
- containImage: {type: 'flag'},
press: {type: 'link-list'},
},
},
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 %}