Hi Alessandro,

Trying to find a "simplest thing that works" scenario...

Assume you have two content resources at /content/www.example.com/home
and /content/m.example.com/home, both with resourceType=H

When rendering www.example.com/home.html, Sling looks for scripts in
the following folders, in order:

  /specific/www.example.com/H
  /apps/H
  /libs/H

And if rendering com.example.m/home Sling looks under
/specific/m.example.com/H, /apps/H and /libs/H

You'd then have specific rendering scripts under /specific, and if
needed common scripts under /apps and /libs

There's a number of details to refine of course, but would that
basically work for you?

-Bertrand

Reply via email to