I'm creating a content editor web part that needs to point to the site collection root. Currently, for it's "Content Link" URL field, I have
../../SiteAssets/js/jquery-rotator/slider.txt but this is inconvenient because if I'm in a publishing page such as /Pages/MyFolder/page.aspx, the path will have to be changed.
Is there a way to provide a path that always points to the site collection root's
SiteAssets folder? Thanks.