Fixed relative URLs
Made hotlinked assets respect HTTP/HTTPS