diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-02 18:38:12 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-02 18:38:30 +0100 |
| commit | eed359e2b6d35fe444353f115237d41d6acad9dc (patch) | |
| tree | 5e90cb767cf7e87555890318e7f103d9e78cf568 /themes/okadmin/templates/index.liquid | |
| parent | ee364381107827718c90fa359055be8e525fe386 (diff) | |
improving display options to the admin view
Diffstat (limited to 'themes/okadmin/templates/index.liquid')
| -rw-r--r-- | themes/okadmin/templates/index.liquid | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid index 5d7975d..48322a9 100644 --- a/themes/okadmin/templates/index.liquid +++ b/themes/okadmin/templates/index.liquid @@ -59,6 +59,9 @@ <div class="image" style="background-image:url('{{data.image.uri}}')"></div> {% else %} {{ data[resource.title] }} + {% if resource.subtitle %} + - {{ data[resource.subtitle] }} + {% endif %} {% endif %} <input class="resource-input" type="hidden" name="{{resource.type}}[{{forloop.index0}}]" value='{{data | stringify | escape_once}}'> |
