Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove protocol to resolve to https automatically from the browser #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heryxpc
Copy link

@heryxpc heryxpc commented Mar 19, 2024

TL;DR the styles won't load if serving via HTTPS when loading URL from site.github.url

We are using this template at https://github.com/JConfMexico/jalapenio/blob/cbc700b1d3fe285a761510c5fae7036aafaa22bf/_config.yml#L15

Noticed that the CSS styles break after we enable HTTPS to Github Pages. This is a common mixed content error documented by Github.

This appears to be a common issue on Github pages when using the scriptlet default: site.github.url. Applied the general pattern discussed there to allow the browser to self-resolve the protocol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant