To complete all those approaches, I forgot to add that I'm using the approach of the BASE HREF for most of the templates. So, the BASE HREF provides a root path and it worked well for me so far in most of the locations where I had to benefit of specific files from a specific locations without having to hardcode the full path in each link.