summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/okadmin/templates/index.liquid2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid
index d792496..5d7975d 100644
--- a/themes/okadmin/templates/index.liquid
+++ b/themes/okadmin/templates/index.liquid
@@ -58,7 +58,7 @@
{% if resource.display == 'image' %}
<div class="image" style="background-image:url('{{data.image.uri}}')"></div>
{% else %}
- {{data.title}}
+ {{ data[resource.title] }}
{% endif %}
<input class="resource-input" type="hidden" name="{{resource.type}}[{{forloop.index0}}]"
value='{{data | stringify | escape_once}}'>