funkydan2 / hugo-kiera

Kiera - A Hugo Theme for writing
https://hugo-kiera.netlify.app
MIT License
71 stars 53 forks source link

Homepage and /posts won't keep HTTPS #59

Open morariu opened 3 years ago

morariu commented 3 years ago

I can't get HTTPS to stick on / and certain posts such as:

/posts/feature-image/ /posts/image-content/

Some other posts and pages are keeping HTTPS:

/posts/style-guide/ /posts/ /about/

I have tried baseurl both with / and https://domainname.com/

Issues on deployments to DO and AWS Amplify.

swflint commented 3 years ago

What server are you using? What are the hrefs? Is your server configured to prefer https or at least try to redirect to it by default?

funkydan2 commented 3 years ago

@morariu I haven't seen this before, and so I don't think it's an issue with the theme. There's nowhere (I can see) in the theme which references http directly.

I think @swflint, is pointing you in the right direction with questions about your web-server setup. The other place to check is the value you've set for baseURL in config.toml.

You might be better off starting a thread over at the Hugo Discourse or a more general web development forum such as Stack Exchange.