diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-02 18:52:52 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-02 18:52:52 +0100 |
| commit | 0732339a113722a549dd0fa36fba54b8f3e83769 (patch) | |
| tree | 63e5e368813a7461080d599e8db91e97a8a60087 /themes | |
| parent | 9ac6bb794d34e621f8fec8c742eabeb8f410e363 (diff) | |
nicer display of group names
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/okadmin/templates/index.liquid | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid index dcd4989..0d7749f 100644 --- a/themes/okadmin/templates/index.liquid +++ b/themes/okadmin/templates/index.liquid @@ -26,7 +26,12 @@ {% assign members = pair[1] %} <section class="resource-category {{group}}"> <header> - <h2>{{group | capitalize}}</h2> + <h2> + {% assign group_parts = group | split: "-" %} + {% for name_part in group_parts %} + {{ name_part | capitalize }} + {% endfor %} + </h2> </header> <ol class="resource-list"> {% for data in members %} |
