- Issue created by @svendecabooter
- Merge request !138Issue #3530532 by svendecabooter: Use property keys for custom_field theming β (Merged) created by svendecabooter
- First commit to issue fork.
-
svendecabooter β
committed 2c444f74 on 3.1.x
Issue #3530532 by svendecabooter: Use property keys for custom_field...
-
svendecabooter β
committed 2c444f74 on 3.1.x
- πΊπΈUnited States apmsooner
Works fine, thanks. Curious as to what the advantage is with custom templates vs. just using the style settings where you can control the html wrappers, add classes, etc...? I would assume this an edge case need.
- π§πͺBelgium svendecabooter Gent
Thanks for the commit!
We use Single Directory Components in our themes, so using a custom template override allows us to render the custom_field through a SDC component.
E.g.:{{ include('themename:card', { label: item['label'], title: item['title'], subtitle: item['subtitle'] body: item['body'], }, only) }}