I have a html file in the style library which I am loading onto a content editor webpart using content link
Currently i have used,
But here the sitename is hard coded, and it will not work when exported to other site collections.
I also thought about using
But this might not work for pages in subsites or pages hosted in sub folders in a document library
Is there a more generic way to point to style library of site collection?