diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-02 18:02:51 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-02 18:02:51 +0100 |
| commit | ee364381107827718c90fa359055be8e525fe386 (patch) | |
| tree | aeaa5fe46e4827cdd838a130b007b499b7e8e5a8 /themes | |
| parent | cf4625d4e8640cdc0e7453446ee77a70f539af57 (diff) | |
cms title can be configured to be another field
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/okadmin/templates/index.liquid | 2 |
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}}'> |
