Just set up my GitHub Pages website and as far as I can tell, GitHub Pages will look for index.html in the parent directory (i.e. if my repo is in username.github.io, it will look for index.html in username.github.io/index.html).
If it cannot find index.html there, it renders out my README.md on the page instead.
Must the index.html file go there or is there a way to tell Pages to look for that file in let's say username.github.io/src/index.html?
Try transferring your index. html file and all its dependencies into a new repository and then use that repository as a sub-module in you current repository. Currently GitHub Pages expects to find an index.
In your repo page and file-listing, click through index. html and click the Edit button, which will let you edit index. html via the Github file editor. Commit your changes.
It appears to be a mixed-content error. Since GitHub Pages are served over HTTPS, you have to make sure that when requesting external resources they're also served over HTTPS. In your index. html file change the http in http://code.jquery.com/jquery-3.5.1.min.js to https and you should be good to go!
You can try this: create a dummy index.html file at the root, and insert this line of code and give it the right path.
index.html
<meta http-equiv="refresh" content="0; url=https://yourname.github.io/myapplication/frontend/public/index.html" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With