Hi, Just FYI, I proposed a patch [0] for mapping resources (by path) to a variable using data-sly-use.
Best, Vlad [0] - https://issues.apache.org/jira/browse/SLING-5813 On Mon, Jan 11, 2016 at 12:35 AM, Stefan Seifert <[email protected]> wrote: > thanks vlad and radu for the explanation and hints. > if creating our own template libraries with the existing sightly features > is not sufficient to reduce the boilerplate code we will think about > extending sightly in a generic way and make a proposal to the spec if it > seems feasible. > > although i listed only a link example in my initial post our use cases are > currently inserting both link and media (image/video etc.) markup. > > stefan >
