Index ¦ Archives ¦ Atom

resurrection

I finally installed from scratch the latest pelican version. I had this weird problem that the http://... version did get displayed correctly whereas the https://... version of my site did not get displayed correctly (without proper css). I had googled and did not want to bother, but it led to me doing rather other things then paying attention to this site. Now, today I setup Claude, and for an interesting twist of fate, the first question I asked was

with "http" my own website on, pelican appears correctly, if I use "https" it seems like the wrong stylesheet is used. How do I tell it to use the correct stylesheet every time

You will have noticed that I am a novice at writing prompts. However, it gave me the response that I should use something like a relative URL path

SITEURL = '//yourdomain.com'  # Note the // without http: or https:

This seemed so trivial and logical that I did not even bother to test, but I went straight to installing the latest pelican verision. It has the benefit of no more version conflict errors with python and the handling of themes and plugins seems improved. Over a year ago, I declared I would stick with pelican. New development has been happening, albeit at slow pace. Well, I am still here ;-)

© Claus Haslauer. Built using Pelican. Theme by Giulio Fidente on github.