On Friday 23 January 2015 11:52:20 Bertrand Delacretaz wrote:
> On Fri, Jan 23, 2015 at 11:30 AM, Felix Meschberger <[email protected]> 
wrote:
> > We could extend our ScriptResolution as well like this. If the file begins
> > with a line of the form> 
> >    #!<engine-name><CR><LF>
> 
> Why not. It's a bit costly as you need to read part of the script
> during resolution but I suppose this can be cached.
> 
> I'd make the syntax specific to Sling then, maybe like
> 
>   #!sling:language thymeleaf
> 
> so that people know where to look for the meaning of that.
> 
> And of course make the engine's extensions configurable (I hope that's
> already the case) so if someone wants to use .sly for Sightly and .tlf
> for Thymeleaf that should be possible.

That's the case for Thymeleaf.

Thymeleaf 3 comes with support for pure templates - HTML/XML without Thymeleaf 
tags/attributes at all - so pure HTML/XML.

O.

> -Bertrand

Reply via email to