The Sitebox documentation says:
- Code: Select all
Since it’s very common for CSS files to contain paths to other resources, for instance to background images, the {% url %} tag will automatically process any .css files and replace these resource paths with urls directly to the latest version in the GameFS CDN.
Now, while that's all fine and well I seem to have stumbled upon a problem with that...
Let's say at the top of my CSS file I have:
- Code: Select all
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,700);
Well, SiteBox decides to change it to:
- Code: Select all
@import url(http://playerio-a.akamaihd.net/GameId/SiteFolder/css/https://fonts.googleapis.com/css?family=Open+Sans:300,700);
If I change "https://" to "http://", that fixes it *unless* I try to view the site with HTTPS which then it fails to load the URL because it's an insecure link. Is there any way this can be fixed, or at least a work around? It's a rather annoying issue.
Thanks!