You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Vlad Bailescu <vl...@bailescu.ro> on 2016/06/29 06:59:27 UTC

Re: [RT] extending sightly with custom block statements

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 <ss...@pro-vision.de>
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
>