jakevdp / PythonicPerambulations

Old source for jakevdp.github.io. New source at http://github.com/jakevdp/jakevdp.github.io-source
89 stars 72 forks source link

CSS and javascript not loaded in chrome with https #3

Closed jseabold closed 9 years ago

jseabold commented 10 years ago

If you load the site over https, chrome (chromium) blocks the css and javascript because it's loaded insecurely over http.

jakevdp commented 10 years ago

Yes, I know about this. The way that Pelican is set up, it's very difficult to change this without messing up many other pieces of the page. For the time being, I'd suggest using firefox or an older version of chrome.

jseabold commented 10 years ago

I had assumed you could just hard code it in your base template Using // or the https site url, but I haven't tried.

jakevdp commented 10 years ago

I spent an hour or so trying to make it work a couple weeks ago, but didn't have any luck. The problem is that the google stats, disqus comments, and twitter feed require http in their string. You'd think it would be trivial to hard-code some of that stuff, but then the local server mode breaks, so I can't preview the content before posting it.

I'm hoping to completely redo the blog template some time in the near future, and at that point I'll be sure to address this.

jakevdp commented 10 years ago

I just fixed this, I think. Let me know if it works for you now!

Carreau commented 9 years ago

I think you can close that know. It works fine both on desktop and mobile.

jakevdp commented 9 years ago

Great – thanks!