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

Check the deployment, seems to have a bad BaseURL entry on config file #26

Open
4strodev opened this issue Oct 18, 2023 · 0 comments
Open

Comments

@4strodev
Copy link

I was searching on the source code why many links get static files using http:// protocol. That produces a mixed-content error. This is why the web is broken.

If you go to get started page. You will see that the CSS is not loading. If you open the network inspector, you will see an error while loading CSS saying mixed-content.

Checking the source code, I found that the file inside themes/colly/layouts/_default/baseof.html you will that the link tags that import static files uses absURL. This function as you can see in hugo docs takes the baseURL and the provided path and generates the full URL of the asset. This error may happen to the rest of the page.

Try to change the baseURL link setting, the https protocol. Also, review that more links use the correct protocol. I hope this could help.

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

No branches or pull requests

1 participant