athul / archie

A minimal Hugo Theme
https://athul.github.io/archie
MIT License
977 stars 299 forks source link

theme does not work over https #83

Closed sebasrp closed 1 year ago

sebasrp commented 1 year ago

Hi, Love your theme. Works great on local machine, but when deploying it (page: sebasr.com), it fails to load the css with the following errors (for all css)

Mixxed Content: The page at 'https://sebasr.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://sebasr.com/css/dark.726cd11ca6eb7c4f7d48eb420354f814e5c1b94281aaf8fd0511c1319f7f78a4.css'. This request has been blocked; the content must be served over HTTPS.

I think this has to do with the fact that it loads the css on http instead of https, but unsure how to fix this.

sebasrp commented 1 year ago

note: fixed the issue by changing the baseURL in hugo.toml to use the https prefix