Question
How to use a Sling Model to adapt a Resource defined in an Editable Template?
I have a simple sling model, the important part looks like this:
This works fine if I use HTL's <data-sly-use="..."> in a component to access resources under the page where the component is used.
However, if my component is used in the structure of an editable template, this breaks since the resources I want are in the template node, not the page node.
Is there a way to access the template resource node instead?